Index: src/IceTypes.h |
diff --git a/src/IceTypes.h b/src/IceTypes.h |
index 2ce8f35af7c507b8319abf648d0be04070ff3884..4127104f0b564592de67cafc761f8de221f87535 100644 |
--- a/src/IceTypes.h |
+++ b/src/IceTypes.h |
@@ -58,6 +58,9 @@ bool isFloatingType(Type Ty); // scalar or vector |
bool isScalarFloatingType(Type Ty); |
bool isVectorFloatingType(Type Ty); |
+/// Returns true if the given type can be used in a load instruction. |
+bool isLoadStoreType(Type Ty); |
+ |
/// Returns type generated by applying the compare instructions (icmp and fcmp) |
/// to arguments of the given type. Returns IceType_void if compare is not |
/// allowed. |