commit | 74ab84c31ef64538a1b56e1f282e49303412ad17 | [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 | 4d535cadf159d30619464f61f1386ffc9a340597 [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); } }