diff options
author | Dan Gohman <gohman@apple.com> | 2007-06-26 15:20:04 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-06-26 15:20:04 +0000 |
commit | 25aceacb29899b7dff02c657da97469314c9cdd1 (patch) | |
tree | 979c50744f2c14ab9ed577dcd9f2d7d8793b3172 /include/llvm/CodeGen/ValueTypes.h | |
parent | 71d7794856cb559696935e3ad8215cdb1ae9886b (diff) |
Simplify the expression for MVT::isExtendedValueType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/ValueTypes.h')
-rw-r--r-- | include/llvm/CodeGen/ValueTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h index 743a1f64dd..8582323a52 100644 --- a/include/llvm/CodeGen/ValueTypes.h +++ b/include/llvm/CodeGen/ValueTypes.h @@ -92,7 +92,7 @@ namespace MVT { // MVT = Machine Value Types /// 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 |