switch to the new live in thing

llvm-svn: 22186
This commit is contained in:
Andrew Lenharth 2005-05-31 18:37:16 +00:00
parent 973d85e660
commit 676e4db6dc
1 changed files with 2 additions and 2 deletions

View File

@ -212,8 +212,8 @@ AlphaTargetLowering::LowerArguments(Function &F, SelectionDAG &DAG)
case MVT::i64:
args_int[count] = AddLiveIn(MF, args_int[count], getRegClassFor(VT));
argt = DAG.getCopyFromReg(args_int[count], VT, DAG.getRoot());
// if (VT != MVT::i64)
// argt = DAG.getNode(ISD::TRUNCATE, VT, argt);
if (VT != MVT::i64)
argt = DAG.getNode(ISD::TRUNCATE, VT, argt);
break;
}
DAG.setRoot(argt.getValue(1));