mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 06:35:30 +00:00
Don't match 64-bit bitfield inserts into rlwimi's. todo add rldimi. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28944 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92044ce4e9
commit
cccef1c6ff
@ -1076,10 +1076,11 @@ void PPCDAGToDAGISel::Select(SDOperand &Result, SDOperand Op) {
|
||||
break;
|
||||
}
|
||||
case ISD::OR:
|
||||
if (SDNode *I = SelectBitfieldInsert(N)) {
|
||||
Result = CodeGenMap[Op] = SDOperand(I, 0);
|
||||
return;
|
||||
}
|
||||
if (N->getValueType(0) == MVT::i32)
|
||||
if (SDNode *I = SelectBitfieldInsert(N)) {
|
||||
Result = CodeGenMap[Op] = SDOperand(I, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
// Other cases are autogenerated.
|
||||
break;
|
||||
|
@ -134,8 +134,6 @@ def XORIS8 : DForm_4<27, (ops G8RC:$dst, G8RC:$src1, u16imm:$src2),
|
||||
"xoris $dst, $src1, $src2", IntGeneral,
|
||||
[(set G8RC:$dst, (xor G8RC:$src1, imm16ShiftedZExt:$src2))]>;
|
||||
|
||||
|
||||
|
||||
def ADD8 : XOForm_1<31, 266, 0, (ops G8RC:$rT, G8RC:$rA, G8RC:$rB),
|
||||
"add $rT, $rA, $rB", IntGeneral,
|
||||
[(set G8RC:$rT, (add G8RC:$rA, G8RC:$rB))]>;
|
||||
|
Loading…
Reference in New Issue
Block a user