llvm.org GIT mirror llvm / df13495
Fix bug in isFloatingPoint() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36381 91177308-0d34-0410-b5e6-96231b3b80d8 Christopher Lamb 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8484 /// MVT::isFloatingPoint - Return true if this is a simple FP, or a packed
8585 /// vector FP type.
8686 static inline bool isFloatingPoint(ValueType VT) {
87 return (VT >= f32 && VT <= f128) || (VT >= v4f32 && VT <= v2f64);
87 return (VT >= f32 && VT <= f128) || (VT >= v2f32 && VT <= v2f64);
8888 }
8989
9090 /// MVT::isVector - Return true if this is a packed vector type (i.e. not