mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +02:00
SRA shift amount must be in i8
llvm-svn: 25416
This commit is contained in:
parent
4d841aaa98
commit
92c122b26f
@ -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::i32))
|
||||
DAG.getConstant(31, MVT::i8))
|
||||
: DAG.getConstant(0, MVT::i32);
|
||||
|
||||
SDOperand Tmp2, Tmp3;
|
||||
|
Loading…
Reference in New Issue
Block a user