aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenRegisters.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2015-03-03 07:57:45 +0000
committerNick Lewycky <nicholas@mxc.ca>2015-03-03 07:57:45 +0000
commitfe9cee7b0aa7e1caa772de425cff3b773583b61f (patch)
treee6ed1082430e80ccd782376cde5fbf8ef673ea77 /llvm/utils/TableGen/CodeGenRegisters.cpp
parent7a89462158f23bbffaf7a625a237c00f359a70b8 (diff)
downloadllvm-fe9cee7b0aa7e1caa772de425cff3b773583b61f.zip
llvm-fe9cee7b0aa7e1caa772de425cff3b773583b61f.tar.gz
llvm-fe9cee7b0aa7e1caa772de425cff3b773583b61f.tar.bz2
Revert the non-cleanup part of r230769 because it introduced a non-determinism found only in the names of symbols.
llvm-svn: 231058
Diffstat (limited to 'llvm/utils/TableGen/CodeGenRegisters.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenRegisters.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CodeGenRegisters.cpp b/llvm/utils/TableGen/CodeGenRegisters.cpp
index f89ba9e..56ac6e0 100644
--- a/llvm/utils/TableGen/CodeGenRegisters.cpp
+++ b/llvm/utils/TableGen/CodeGenRegisters.cpp
@@ -258,8 +258,6 @@ CodeGenRegister::computeSubRegs(CodeGenRegBank &RegBank) {
// Look at the possible compositions of Idx.
// They may not all be supported by SR.
- // NOTE: Iteration order does not matter here because the EnumValue's
- // of subreg indices are unique.
for (CodeGenSubRegIndex::CompMap::const_iterator I = Comps.begin(),
E = Comps.end(); I != E; ++I) {
SubRegMap::const_iterator SRI = Map.find(I->first);