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:
68e5d08
)
SRA shift amount must be in i8
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 18 Jan 2006 09:26:46 +0000
(09:26 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 18 Jan 2006 09:26:46 +0000
(09:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25416
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 6a656142f7dbee76650354912ad5549ed460e1a4..7ed6c94de2f61f7678745f68623a69dc1f2272fb 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-1448,7
+1448,7
@@
SDOperand X86TargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
SDOperand ShOpHi = Op.getOperand(1);
SDOperand ShAmt = Op.getOperand(2);
SDOperand Tmp1 = isSRA ? DAG.getNode(ISD::SRA, MVT::i32, ShOpHi,
- DAG.getConstant(31, MVT::i
32
))
+ DAG.getConstant(31, MVT::i
8
))
: DAG.getConstant(0, MVT::i32);
SDOperand Tmp2, Tmp3;