aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-29 19:29:15 +0000
committerChris Lattner <sabre@nondot.org>2005-09-29 19:29:15 +0000
commit221e53caeac3be62f92dc3d76340557f8c2875f1 (patch)
treeb21c671f6a223384d5091551ffffee22dcb76a6a
parente46e17b7fb73abce6cdf77c2ced7e1ef877415b4 (diff)
now that tblgen is smarter, this pattern is not needed. Also, tblgen
now inverts commuted versions of ANDC/ORC with the current .td file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23527 91177308-0d34-0410-b5e6-96231b3b80d8
-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),