From: Andrew Lenharth Date: Thu, 27 Jan 2005 00:51:05 +0000 (+0000) Subject: minor bug fix X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=51d3ab4ad43697f2b92b0fe0a400f116dd7c51d0;p=oota-llvm.git minor bug fix git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19849 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp index befcc3ff1bd..3092a11a39b 100644 --- a/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/lib/Target/Alpha/AlphaISelPattern.cpp @@ -157,7 +157,7 @@ AlphaTargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) case MVT::i32: case MVT::i64: BuildMI(&BB, Alpha::IDEF, 0, args_int[count - 1]); - argVreg.push_back(MF.getSSARegMap()->createVirtualRegister(getRegClassFor(getValueType(I->getType())))); + argVreg.push_back(MF.getSSARegMap()->createVirtualRegister(getRegClassFor(MVT::i64)))); argPreg.push_back(args_int[count - 1]); break; }