projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1277979
)
fix a warning
author
Chris Lattner
<sabre@nondot.org>
Mon, 19 Mar 2007 00:39:32 +0000
(
00:39
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 19 Mar 2007 00:39:32 +0000
(
00:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35152
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index c8a2e2eaef5ebe25734d1eb8e357f243109ee677..117448225df1ec6c22b33ccfe32eb91999c21c89 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-4526,7
+4526,7
@@
isOperandValidForConstraint(SDOperand Op, char Constraint, SelectionDAG &DAG) {
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);