mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
fix loading address of fp symbols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22331 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6a709a418b
commit
2f5bca5c15
@ -1319,6 +1319,8 @@ unsigned AlphaISel::SelectExpr(SDOperand N) {
|
||||
case ISD::GlobalAddress:
|
||||
AlphaLowering.restoreGP(BB);
|
||||
has_sym = true;
|
||||
|
||||
Reg = Result = MakeReg(MVT::i64);
|
||||
|
||||
if (EnableAlphaLSMark)
|
||||
BuildMI(BB, Alpha::MEMLABEL, 4).addImm(5).addImm(0).addImm(0)
|
||||
@ -1333,6 +1335,8 @@ unsigned AlphaISel::SelectExpr(SDOperand N) {
|
||||
AlphaLowering.restoreGP(BB);
|
||||
has_sym = true;
|
||||
|
||||
Reg = Result = MakeReg(MVT::i64);
|
||||
|
||||
if (EnableAlphaLSMark)
|
||||
BuildMI(BB, Alpha::MEMLABEL, 4).addImm(5).addImm(0).addImm(0)
|
||||
.addImm(getUID());
|
||||
|
Loading…
Reference in New Issue
Block a user