diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-01-27 00:51:05 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-01-27 00:51:05 +0000 |
commit | 51d3ab4ad43697f2b92b0fe0a400f116dd7c51d0 (patch) | |
tree | 2511b002c695a7c0d20a06aa6cd82ae64930d832 | |
parent | 98a32d09f33a95aaa96e7c695498d898f7dbd9b8 (diff) |
minor bug fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19849 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Alpha/AlphaISelPattern.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp index befcc3ff1b..3092a11a39 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; } |