[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Mon Jun 27 09:40:37 PDT 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaISelPattern.cpp updated: 1.130 -> 1.131
---
Log message:
missed a load
---
Diffs of the changes: (+7 -3)
AlphaISelPattern.cpp | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.130 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.131
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.130 Mon Jun 27 10:36:48 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp Mon Jun 27 11:40:26 2005
@@ -265,9 +265,6 @@
MachineBasicBlock& BB = MF.front();
- //Handle the return address
- //BuildMI(&BB, Alpha::IDEF, 0, Alpha::R26);
-
unsigned args_int[] = {Alpha::R16, Alpha::R17, Alpha::R18,
Alpha::R19, Alpha::R20, Alpha::R21};
unsigned args_float[] = {Alpha::F16, Alpha::F17, Alpha::F18,
@@ -1307,6 +1304,13 @@
SDOperand Address = N.getOperand(1);
Select(Chain);
+ if (EnableAlphaLSMark)
+ {
+ int i = getValueOffset(dyn_cast<SrcValueSDNode>(N.getOperand(2))->getValue());
+ int j = getFunctionOffset(BB->getParent()->getFunction());
+ BuildMI(BB, Alpha::MEMLABEL, 3).addImm(j).addImm(i).addImm(getUID());
+ }
+
if (Address.getOpcode() == ISD::GlobalAddress) {
AlphaLowering.restoreGP(BB);
has_sym = true;
More information about the llvm-commits
mailing list