aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index 4f3715eaf7..46ccd639ba 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/lib/Target/PowerPC/PPCInstrInfo.td
@@ -802,11 +802,9 @@ 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)>;
-// FIXME: This should be autogenerated from the above due to xor commutativity.
-def EQV2 : Pat<(xor GPRC:$in1, (not GPRC:$in2)),
- (EQV GPRC:$in1, GPRC:$in2)>;
// ADD an arbitrary immediate.
def : Pat<(add GPRC:$in, imm:$imm),