[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue May 4 14:35:03 PDT 2004
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.244 -> 1.245
---
Log message:
Remove unneeded check
---
Diffs of the changes: (+0 -1)
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.244 llvm/lib/Target/X86/InstSelectSimple.cpp:1.245
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.244 Tue May 4 14:33:58 2004
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Tue May 4 14:35:11 2004
@@ -2180,7 +2180,6 @@
if (Val == 0 || (Val & (Val-1))) return 0;
unsigned Count = 0;
while (Val != 1) {
- if (Val & 1) return 0;
Val >>= 1;
++Count;
}
More information about the llvm-commits
mailing list