mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-17 07:22:54 +00:00
Fix bug in isFloatingPoint()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36381 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a5fa18997
commit
df1349546f
@ -85,7 +85,7 @@ namespace MVT { // MVT = Machine Value Types
|
||||
/// MVT::isFloatingPoint - Return true if this is a simple FP, or a packed
|
||||
/// vector FP type.
|
||||
static inline bool isFloatingPoint(ValueType VT) {
|
||||
return (VT >= f32 && VT <= f128) || (VT >= v4f32 && VT <= v2f64);
|
||||
return (VT >= f32 && VT <= f128) || (VT >= v2f32 && VT <= v2f64);
|
||||
}
|
||||
|
||||
/// MVT::isVector - Return true if this is a packed vector type (i.e. not
|
||||
|
Loading…
x
Reference in New Issue
Block a user