switch to the new live in thing
authorAndrew Lenharth <andrewl@lenharth.org>
Tue, 31 May 2005 18:37:16 +0000 (18:37 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Tue, 31 May 2005 18:37:16 +0000 (18:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22186 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelPattern.cpp

index 59c59981f87684f6d97aac87f9cebd9850dd4e2f..deed1905d603de0b0d7130438213c77b11e6f98f 100644 (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));