aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineLICM.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-02-26 21:11:01 +0000
committerBill Wendling <isanbard@gmail.com>2008-02-26 21:11:01 +0000
commit8eeb97927530a1e53c3529a9b93f94239056d1b4 (patch)
treee81fc4181583f23b090bdceca5eda53bed117880 /lib/CodeGen/MachineLICM.cpp
parent7823251bfc67e9a156eae9dc51de4aed0339557b (diff)
downloadexternal_llvm-8eeb97927530a1e53c3529a9b93f94239056d1b4.tar.gz
external_llvm-8eeb97927530a1e53c3529a9b93f94239056d1b4.tar.bz2
external_llvm-8eeb97927530a1e53c3529a9b93f94239056d1b4.zip
Change "Name" to "AsmName" in the target register info. Gee, a refactoring tool
would have been a Godsend here! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47625 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineLICM.cpp')
-rw-r--r--lib/CodeGen/MachineLICM.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp
index 89ab93df0a..dcca8856d2 100644
--- a/lib/CodeGen/MachineLICM.cpp
+++ b/lib/CodeGen/MachineLICM.cpp
@@ -251,7 +251,7 @@ bool MachineLICM::IsLoopInvariantInst(MachineInstr &I) {
const TargetRegisterInfo *TRI = TM->getRegisterInfo();
for (const unsigned *ImpUses = I.getDesc().getImplicitUses();
*ImpUses; ++ImpUses)
- DOUT << " -> " << TRI->getName(*ImpUses) << "\n";
+ DOUT << " -> " << TRI->getPrintableName(*ImpUses) << "\n";
}
if (I.getDesc().getImplicitDefs()) {
@@ -260,7 +260,7 @@ bool MachineLICM::IsLoopInvariantInst(MachineInstr &I) {
const TargetRegisterInfo *TRI = TM->getRegisterInfo();
for (const unsigned *ImpDefs = I.getDesc().getImplicitDefs();
*ImpDefs; ++ImpDefs)
- DOUT << " -> " << TRI->getName(*ImpDefs) << "\n";
+ DOUT << " -> " << TRI->getPrintableName(*ImpDefs) << "\n";
}
//if (TII->hasUnmodelledSideEffects(&I))