[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Wed Jan 26 16:51:22 PST 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaISelPattern.cpp updated: 1.7 -> 1.8
---
Log message:

minor bug fix

---
Diffs of the changes:  (+1 -1)

 AlphaISelPattern.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.7 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.8
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.7	Wed Jan 26 15:54:08 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Wed Jan 26 18:51:05 2005
@@ -157,7 +157,7 @@
       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;
 	}






More information about the llvm-commits mailing list