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))>;