mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-07 03:28:17 +00:00
Simplify the expression for MVT::isExtendedValueType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37733 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71d7794856
commit
25aceacb29
@ -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