diff options
author | Christopher Lamb <christopher.lamb@gmail.com> | 2007-04-23 22:50:40 +0000 |
---|---|---|
committer | Christopher Lamb <christopher.lamb@gmail.com> | 2007-04-23 22:50:40 +0000 |
commit | 15ea59ddfc80ff8a372b0beff8cd89b66e36e4a5 (patch) | |
tree | 4b53db7d00f893001c2520a1e5e3a05974482ce2 /llvm | |
parent | 38bc86f057b85ed80f65cc0c9df180f8fe172758 (diff) | |
download | bcm5719-llvm-15ea59ddfc80ff8a372b0beff8cd89b66e36e4a5.tar.gz bcm5719-llvm-15ea59ddfc80ff8a372b0beff8cd89b66e36e4a5.zip |
Fix bug in isFloatingPoint()
llvm-svn: 36381
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/CodeGen/ValueTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/ValueTypes.h b/llvm/include/llvm/CodeGen/ValueTypes.h index cbf37a60e1f..be16aa0c60c 100644 --- a/llvm/include/llvm/CodeGen/ValueTypes.h +++ b/llvm/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 |