[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp
Chris Lattner
sabre at nondot.org
Sun Mar 18 17:39:49 PDT 2007
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.372 -> 1.373
---
Log message:
fix a warning
---
Diffs of the changes: (+1 -1)
X86ISelLowering.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.372 llvm/lib/Target/X86/X86ISelLowering.cpp:1.373
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.372 Fri Mar 16 19:13:28 2007
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Sun Mar 18 19:39:32 2007
@@ -4526,7 +4526,7 @@
case 'I':
if (isa<ConstantSDNode>(Op)) {
unsigned Value = cast<ConstantSDNode>(Op)->getValue();
- if (Value >= 0 && Value <= 31)
+ if (Value <= 31)
return Op;
else
return SDOperand(0,0);
More information about the llvm-commits
mailing list