[llvm-commits] CVS: llvm/include/llvm/CodeGen/ValueTypes.h
Christopher Lamb
christopher.lamb at gmail.com
Mon Apr 23 15:50:57 PDT 2007
Changes in directory llvm/include/llvm/CodeGen:
ValueTypes.h updated: 1.32 -> 1.33
---
Log message:
Fix bug in isFloatingPoint()
---
Diffs of the changes: (+1 -1)
ValueTypes.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/ValueTypes.h
diff -u llvm/include/llvm/CodeGen/ValueTypes.h:1.32 llvm/include/llvm/CodeGen/ValueTypes.h:1.33
--- llvm/include/llvm/CodeGen/ValueTypes.h:1.32 Sun Apr 1 02:17:45 2007
+++ llvm/include/llvm/CodeGen/ValueTypes.h Mon Apr 23 17:50:40 2007
@@ -85,7 +85,7 @@
/// 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
More information about the llvm-commits
mailing list