[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaInstrInfo.td
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Mon Jan 9 11:50:11 PST 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaInstrInfo.td updated: 1.98 -> 1.99
---
Log message:
proper branch not equal sequence
---
Diffs of the changes: (+4 -0)
AlphaInstrInfo.td | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/Alpha/AlphaInstrInfo.td
diff -u llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.98 llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.99
--- llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.98 Wed Jan 4 22:48:15 2006
+++ llvm/lib/Target/Alpha/AlphaInstrInfo.td Mon Jan 9 13:49:58 2006
@@ -741,6 +741,10 @@
def : Pat<(brcond (and GPRC:$RA, 1), bb:$DISP), (BLBS GPRC:$RA, bb:$DISP)>;
def : Pat<(brcond GPRC:$RA, bb:$DISP), (BNE GPRC:$RA, bb:$DISP)>;
+def : Pat<(brcond (setne GPRC:$RA, GPRC:$RB), bb:$DISP),
+ (BEQ (CMPEQ GPRC:$RA, GPRC:$RB), bb:$DISP)>;
+def : Pat<(brcond (setne GPRC:$RA, immUExt8:$L), bb:$DISP),
+ (BEQ (CMPEQi GPRC:$RA, immUExt8:$L), bb:$DISP)>;
def : Pat<(brcond (seteq F8RC:$RA, F8RC:$RB), bb:$DISP),
(FBNE (CMPTEQ F8RC:$RA, F8RC:$RB), bb:$DISP)>;
def : Pat<(brcond (setlt F8RC:$RA, F8RC:$RB), bb:$DISP),
More information about the llvm-commits
mailing list