[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td

Chris Lattner lattner at cs.uiuc.edu
Thu Dec 22 13:18:50 PST 2005



Changes in directory llvm/lib/Target/SparcV8:

SparcV8InstrInfo.td updated: 1.93 -> 1.94
---
Log message:

clean up .td file by using evan's new FLAG thing


---
Diffs of the changes:  (+4 -4)

 SparcV8InstrInfo.td |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
diff -u llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.93 llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.94
--- llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.93	Sun Dec 18 20:06:50 2005
+++ llvm/lib/Target/SparcV8/SparcV8InstrInfo.td	Thu Dec 22 15:18:39 2005
@@ -561,7 +561,7 @@
   // pc-relative call:
   def CALL : InstV8<(ops calltarget:$dst),
                     "call $dst",
-                  [(set ICC/*bogus*/, (call tglobaladdr:$dst, ICC/*bogus*/))]> {
+                  [(set FLAG, (call tglobaladdr:$dst, FLAG))]> {
     bits<30> disp;
     let op = 1;
     let Inst{29-0} = disp;
@@ -571,11 +571,11 @@
   def JMPLrr : F3_1<2, 0b111000,
                     (ops MEMrr:$ptr),
                     "call $ptr",
-                    [(set ICC/*bogus*/, (call  ADDRrr:$ptr, ICC/*bogus*/))]>;
+                    [(set FLAG, (call  ADDRrr:$ptr, FLAG))]>;
   def JMPLri : F3_2<2, 0b111000,
                     (ops MEMri:$ptr),
                     "call $ptr",
-                    [(set ICC/*bogus*/, (call  ADDRri:$ptr, ICC/*bogus*/))]>;
+                    [(set FLAG, (call  ADDRri:$ptr, FLAG))]>;
 }
 
 // Section B.28 - Read State Register Instructions
@@ -720,7 +720,7 @@
 def : Pat<(V8lo tconstpool:$in), (ORri G0, tconstpool:$in)>;
 
 // Return of a value, which has an input flag.
-def : Pat<(retflag ICC/*HACK*/), (RETL)>;
+def : Pat<(retflag FLAG), (RETL)>;
 
 // Map integer extload's to zextloads.
 def : Pat<(i32 (extload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>;






More information about the llvm-commits mailing list