mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Add T9 to the list of live-in registers of the entry basic block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153497 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
59182f9425
commit
56e1ed53f5
@ -142,6 +142,7 @@ void MipsDAGToDAGISel::InitGlobalBaseReg(MachineFunction &MF) {
|
||||
|
||||
if (Subtarget.isABI_N64()) {
|
||||
MF.getRegInfo().addLiveIn(Mips::T9_64);
|
||||
MBB.addLiveIn(Mips::T9_64);
|
||||
|
||||
// lui $v0, %hi(%neg(%gp_rel(fname)))
|
||||
// daddu $v1, $v0, $t9
|
||||
@ -163,6 +164,7 @@ void MipsDAGToDAGISel::InitGlobalBaseReg(MachineFunction &MF) {
|
||||
.addExternalSymbol("__gnu_local_gp", MipsII::MO_ABS_LO);
|
||||
} else {
|
||||
MF.getRegInfo().addLiveIn(Mips::T9);
|
||||
MBB.addLiveIn(Mips::T9);
|
||||
|
||||
if (Subtarget.isABI_N32()) {
|
||||
// lui $v0, %hi(%neg(%gp_rel(fname)))
|
||||
|
Loading…
Reference in New Issue
Block a user