1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

now that tblgen is smarter, this pattern is not needed. Also, tblgen

now inverts commuted versions of ANDC/ORC with the current .td file.

llvm-svn: 23527
This commit is contained in:
Chris Lattner 2005-09-29 19:29:15 +00:00
parent 31a9d318a3
commit 7c8efa3b9b

View File

@ -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),