mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Simplify the expression for MVT::isExtendedValueType.
llvm-svn: 37733
This commit is contained in:
parent
fb8c9beba3
commit
99878e810a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user