projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c742e4f
)
Modify LowerFRAMEADDR. Use 64-bit register FP_64 when ABI is N64.
author
Akira Hatanaka
<ahatanaka@mips.com>
Fri, 11 Nov 2011 04:11:56 +0000
(
04:11
+0000)
committer
Akira Hatanaka
<ahatanaka@mips.com>
Fri, 11 Nov 2011 04:11:56 +0000
(
04:11
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144371
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsISelLowering.cpp
b/lib/Target/Mips/MipsISelLowering.cpp
index e32236724e2384d9825affef2ec7f18ad842b5af..1a85d54e8b542d8ddeecd1b071f7da2cc5acc9c9 100644
(file)
--- a/
lib/Target/Mips/MipsISelLowering.cpp
+++ b/
lib/Target/Mips/MipsISelLowering.cpp
@@
-1658,7
+1658,8
@@
LowerFRAMEADDR(SDValue Op, SelectionDAG &DAG) const {
MFI->setFrameAddressIsTaken(true);
EVT VT = Op.getValueType();
DebugLoc dl = Op.getDebugLoc();
- SDValue FrameAddr = DAG.getCopyFromReg(DAG.getEntryNode(), dl, Mips::FP, VT);
+ SDValue FrameAddr = DAG.getCopyFromReg(DAG.getEntryNode(), dl,
+ IsN64 ? Mips::FP_64 : Mips::FP, VT);
return FrameAddr;
}