[llvm-commits] [llvm] r81727 - /llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Chris Lattner
sabre at nondot.org
Sun Sep 13 15:42:04 PDT 2009
Author: lattner
Date: Sun Sep 13 17:42:03 2009
New Revision: 81727
URL: http://llvm.org/viewvc/llvm-project?rev=81727&view=rev
Log:
kill off the last use of TRI::AsmName.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=81727&r1=81726&r2=81727&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Sun Sep 13 17:42:03 2009
@@ -2346,7 +2346,7 @@
for (TargetRegisterClass::iterator I = RC->begin(), E = RC->end();
I != E; ++I) {
- if (StringsEqualNoCase(RegName, RI->get(*I).AsmName))
+ if (StringsEqualNoCase(RegName, RI->getName(*I)))
return std::make_pair(*I, RC);
}
}
More information about the llvm-commits
mailing list