commit | 8eeb97927530a1e53c3529a9b93f94239056d1b4 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Tue Feb 26 21:11:01 2008 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Tue Feb 26 21:11:01 2008 +0000 |
tree | e81fc4181583f23b090bdceca5eda53bed117880 | |
parent | 7823251bfc67e9a156eae9dc51de4aed0339557b [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 22e2117..43e8969 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -1648,7 +1648,7 @@ for (TargetRegisterClass::iterator I = RC->begin(), E = RC->end(); I != E; ++I) { - if (StringsEqualNoCase(RegName, RI->get(*I).Name)) + if (StringsEqualNoCase(RegName, RI->get(*I).AsmName)) return std::make_pair(*I, RC); } }