[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaInstrInfo.td

Andrew Lenharth alenhar2 at cs.uiuc.edu
Tue Jan 10 19:33:18 PST 2006



Changes in directory llvm/lib/Target/Alpha:

AlphaInstrInfo.td updated: 1.100 -> 1.101
---
Log message:

this pattern was bogus

---
Diffs of the changes:  (+1 -2)

 AlphaInstrInfo.td |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaInstrInfo.td
diff -u llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.100 llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.101
--- llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.100	Tue Jan 10 13:12:47 2006
+++ llvm/lib/Target/Alpha/AlphaInstrInfo.td	Tue Jan 10 21:33:06 2006
@@ -716,7 +716,7 @@
                    [(brcond (setgt GPRC:$RA, 0), bb:$DISP)]>;
 def BLBC : BFormDG<0x38, "blbc $RA,$DISP", []>; //TODO: Low bit clear
 def BLBS : BFormDG<0x3C, "blbs $RA,$DISP",
-                   [(brcond (seteq GPRC:$RA, 1), bb:$DISP)]>;
+                   [(brcond (and GPRC:$RA, 1), bb:$DISP)]>;
 def BLE  : BFormDG<0x3B, "ble $RA,$DISP",
                    [(brcond (setle GPRC:$RA, 0), bb:$DISP)]>;
 def BLT  : BFormDG<0x3A, "blt $RA,$DISP",
@@ -739,7 +739,6 @@
                   [(brcond (setne F8RC:$RA, immFPZ), bb:$DISP)]>;
 }
 
-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)>;






More information about the llvm-commits mailing list