aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelPattern.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-04-12 17:47:57 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-04-12 17:47:57 +0000
commit0b04b5d562397d1d07cdc9b0639ffc78649f197a (patch)
treec33daecd3a1e75cff9ebe51a0e053047760d023b /lib/Target/Alpha/AlphaISelPattern.cpp
parente1c5a00e8b2d20d8e5a254912538cb376cb8d13c (diff)
Get rid of idefs for arguments (oops)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelPattern.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelPattern.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp
index 9f309e5b3b..1e8e38539f 100644
--- a/lib/Target/Alpha/AlphaISelPattern.cpp
+++ b/lib/Target/Alpha/AlphaISelPattern.cpp
@@ -170,24 +170,24 @@ AlphaTargetLowering::LowerArguments(Function &F, SelectionDAG &DAG)
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);