[llvm-commits] CVS: llvm/include/llvm/CodeGen/ValueTypes.h
Dan Gohman
djg at cray.com
Tue Jun 26 08:20:26 PDT 2007
Changes in directory llvm/include/llvm/CodeGen:
ValueTypes.h updated: 1.37 -> 1.38
---
Log message:
Simplify the expression for MVT::isExtendedValueType.
---
Diffs of the changes: (+1 -1)
ValueTypes.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/ValueTypes.h
diff -u llvm/include/llvm/CodeGen/ValueTypes.h:1.37 llvm/include/llvm/CodeGen/ValueTypes.h:1.38
--- llvm/include/llvm/CodeGen/ValueTypes.h:1.37 Tue Jun 26 09:28:59 2007
+++ llvm/include/llvm/CodeGen/ValueTypes.h Tue Jun 26 10:20:04 2007
@@ -92,7 +92,7 @@
/// MVT::isExtendedValueType - Test if the given ValueType is extended
/// (as opposed to being simple).
static inline bool isExtendedValueType(ValueType VT) {
- return VT & ~SimpleTypeMask;
+ return VT > SimpleTypeMask;
}
/// MVT::isInteger - Return true if this is an integer, or a vector integer
More information about the llvm-commits
mailing list