[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Tue Apr 12 10:48:13 PDT 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.92 -> 1.93
---
Log message:

Get rid of idefs for arguments (oops)

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

 AlphaISelPattern.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.92 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.93
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.92	Tue Apr 12 12:35:16 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Tue Apr 12 12:47:57 2005
@@ -170,24 +170,24 @@
     for (int i = 0; i < 6; ++i)
     {
       if (F.isVarArg()) {
-        F->addLiveIn(args_int[i]);
-        F->addLiveIn(args_float[i]);
+        MF.addLiveIn(args_int[i]);
+        MF.addLiveIn(args_float[i]);
 //        BuildMI(&BB, Alpha::IDEF, 0, args_int[i]);
 //        BuildMI(&BB, Alpha::IDEF, 0, args_float[i]);
       } else if (I != E)
       {
         if(MVT::isInteger(getValueType(I->getType())))
-          F->addLiveIn(args_int[i]);
+          MF.addLiveIn(args_int[i]);
 //          BuildMI(&BB, Alpha::IDEF, 0, args_int[i]);
         else
-          F->addLiveIn(args_float[i]);
+          MF.addLiveIn(args_float[i]);
 //          BuildMI(&BB, Alpha::IDEF, 0, args_float[i]);
         ++I;
       }
     }
   }
 
-  F->addLiveIn(Alpha::R29);
+  MF.addLiveIn(Alpha::R29);
 //  BuildMI(&BB, Alpha::IDEF, 0, Alpha::R29);
   BuildMI(&BB, Alpha::BIS, 2, GP).addReg(Alpha::R29).addReg(Alpha::R29);
 






More information about the llvm-commits mailing list