[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 13 12:03:24 PDT 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaISelLowering.cpp updated: 1.3 -> 1.4
---
Log message:
Majik numbers are bad
---
Diffs of the changes: (+2 -2)
AlphaISelLowering.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.3 llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.4
--- llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.3 Tue Sep 6 12:00:23 2005
+++ llvm/lib/Target/Alpha/AlphaISelLowering.cpp Tue Sep 13 14:03:13 2005
@@ -193,7 +193,7 @@
VarArgsOffset = count * 8;
std::vector<SDOperand> LS;
for (int i = 0; i < 6; ++i) {
- if (args_int[i] < 1024)
+ if (MRegisterInfo::isPhysicalRegister(args_int[i]))
args_int[i] = AddLiveIn(MF, args_int[i], getRegClassFor(MVT::i64));
SDOperand argt = DAG.getCopyFromReg(DAG.getRoot(), args_int[i], MVT::i64);
int FI = MFI->CreateFixedObject(8, -8 * (6 - i));
@@ -202,7 +202,7 @@
LS.push_back(DAG.getNode(ISD::STORE, MVT::Other, DAG.getRoot(), argt,
SDFI, DAG.getSrcValue(NULL)));
- if (args_float[i] < 1024)
+ if (MRegisterInfo::isPhysicalRegister(args_float[i]))
args_float[i] = AddLiveIn(MF, args_float[i], getRegClassFor(MVT::f64));
argt = DAG.getCopyFromReg(DAG.getRoot(), args_float[i], MVT::f64);
FI = MFI->CreateFixedObject(8, - 8 * (12 - i));
More information about the llvm-commits
mailing list