aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2007-04-23 22:50:40 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2007-04-23 22:50:40 +0000
commitdf1349546f486edff288d88bd446b64fe9dfd6a0 (patch)
treef32ccff665459f51bf7214ac8d61b1a5bcd4b647
parent2a5fa189972c1ecc29f3682a732d15f94b9498f1 (diff)
Fix bug in isFloatingPoint()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36381 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/ValueTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h
index cbf37a60e1..be16aa0c60 100644
--- a/include/llvm/CodeGen/ValueTypes.h
+++ b/include/llvm/CodeGen/ValueTypes.h
@@ -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