[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Wed May 2 19:00:36 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMISelLowering.cpp updated: 1.47 -> 1.48
---
Log message:
Typo. It's checking if V is multiple of 4, not multiple of 3. :-)
---
Diffs of the changes: (+1 -1)
ARMISelLowering.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMISelLowering.cpp
diff -u llvm/lib/Target/ARM/ARMISelLowering.cpp:1.47 llvm/lib/Target/ARM/ARMISelLowering.cpp:1.48
--- llvm/lib/Target/ARM/ARMISelLowering.cpp:1.47 Fri Apr 27 08:54:47 2007
+++ llvm/lib/Target/ARM/ARMISelLowering.cpp Wed May 2 21:00:18 2007
@@ -1486,7 +1486,7 @@
case MVT::f64:
if (!Subtarget->hasVFP2())
return false;
- if ((V % 3) != 0)
+ if ((V & 3) != 0)
return false;
V >>= 2;
return V == V & ((1LL << 8) - 1);
More information about the llvm-commits
mailing list