[llvm-commits] [llvm] r153497 - /llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Akira Hatanaka
ahatanaka at mips.com
Mon Mar 26 19:46:25 PDT 2012
Author: ahatanak
Date: Mon Mar 26 21:46:25 2012
New Revision: 153497
URL: http://llvm.org/viewvc/llvm-project?rev=153497&view=rev
Log:
Add T9 to the list of live-in registers of the entry basic block.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp?rev=153497&r1=153496&r2=153497&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp Mon Mar 26 21:46:25 2012
@@ -142,6 +142,7 @@
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 @@
.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)))
More information about the llvm-commits
mailing list