summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-06-27 16:40:26 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-06-27 16:40:26 +0000
commitfcb112eb7a6aaceb63603f6c195f35897e9b265e (patch)
tree120b2e098a3dd6f53f87fe0fe58ae01b433e91d5
parent96db51a3b6dfc28e6ed644630baf749acdb2c926 (diff)
downloadbcm5719-llvm-fcb112eb7a6aaceb63603f6c195f35897e9b265e.tar.gz
bcm5719-llvm-fcb112eb7a6aaceb63603f6c195f35897e9b265e.zip
missed a load
llvm-svn: 22295
-rw-r--r--llvm/lib/Target/Alpha/AlphaISelPattern.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelPattern.cpp b/llvm/lib/Target/Alpha/AlphaISelPattern.cpp
index 9c9b3d6db08..f1a9191a25d 100644
--- a/llvm/lib/Target/Alpha/AlphaISelPattern.cpp
+++ b/llvm/lib/Target/Alpha/AlphaISelPattern.cpp
@@ -265,9 +265,6 @@ AlphaTargetLowering::LowerArguments(Function &F, SelectionDAG &DAG)
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 @@ unsigned AlphaISel::SelectExprFP(SDOperand N, unsigned Result)
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;
OpenPOWER on IntegriCloud