mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Shift amounts should have type getShiftAmountTy
(i32 for PPC, not i8). Correct this, and some formatting while there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c5e1ec47c7
commit
2fbfbd2a05
@ -3015,7 +3015,7 @@ SDValue PPCTargetLowering::LowerFLT_ROUNDS_(SDValue Op, SelectionDAG &DAG) {
|
||||
DAG.getNode(ISD::XOR, MVT::i32,
|
||||
CWD, DAG.getConstant(3, MVT::i32)),
|
||||
DAG.getConstant(3, MVT::i32)),
|
||||
DAG.getConstant(1, MVT::i8));
|
||||
DAG.getConstant(1, MVT::i32));
|
||||
|
||||
SDValue RetVal =
|
||||
DAG.getNode(ISD::XOR, MVT::i32, CWD1, CWD2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user