mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
tblgen autogens this pattern now
llvm-svn: 23530
This commit is contained in:
parent
10a8d57590
commit
e16fc704bd
@ -796,16 +796,10 @@ def RLDICR : MDForm_1<30, 1,
|
||||
def : Pat<(i32 imm:$imm),
|
||||
(ORI (LIS (HI16 imm:$imm)), (LO16 imm:$imm))>;
|
||||
|
||||
|
||||
// Implement the 'not' operation with the NOR instruction.
|
||||
def NOT : Pat<(not GPRC:$in),
|
||||
(NOR GPRC:$in, GPRC:$in)>;
|
||||
|
||||
// EQV patterns
|
||||
// FIXME: This should be autogenerated from the above due to xor association.
|
||||
def EQV1 : Pat<(xor (not GPRC:$in1), GPRC:$in2),
|
||||
(EQV GPRC:$in1, GPRC:$in2)>;
|
||||
|
||||
// ADD an arbitrary immediate.
|
||||
def : Pat<(add GPRC:$in, imm:$imm),
|
||||
(ADDIS (ADDI GPRC:$in, (LO16 imm:$imm)), (HA16 imm:$imm))>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user