clean up .td file by using evan's new FLAG thing
authorChris Lattner <sabre@nondot.org>
Thu, 22 Dec 2005 21:18:39 +0000 (21:18 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 Dec 2005 21:18:39 +0000 (21:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24967 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/SparcInstrInfo.td
lib/Target/SparcV8/SparcV8InstrInfo.td

index 0094ef6124e74e2f3701968c7cf24b6934da8c7f..2e8f2f60258217cf6e51a6c92c1d3198164e7920 100644 (file)
@@ -561,7 +561,7 @@ let Uses = [O0, O1, O2, O3, O4, O5], hasDelaySlot = 1, isCall = 1,
   // 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 @@ let Uses = [O0, O1, O2, O3, O4, O5], hasDelaySlot = 1, isCall = 1,
   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<(V8hi tconstpool:$in), (SETHIi tconstpool:$in)>;
 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)>;
index 0094ef6124e74e2f3701968c7cf24b6934da8c7f..2e8f2f60258217cf6e51a6c92c1d3198164e7920 100644 (file)
@@ -561,7 +561,7 @@ let Uses = [O0, O1, O2, O3, O4, O5], hasDelaySlot = 1, isCall = 1,
   // 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 @@ let Uses = [O0, O1, O2, O3, O4, O5], hasDelaySlot = 1, isCall = 1,
   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<(V8hi tconstpool:$in), (SETHIi tconstpool:$in)>;
 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)>;