1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Revert the non-cleanup part of r230769 because it introduced a non-determinism found only in the names of symbols.

llvm-svn: 231058
This commit is contained in:
Nick Lewycky 2015-03-03 07:57:45 +00:00
parent f9f1328955
commit 29e592e429
2 changed files with 2 additions and 3 deletions

View File

@ -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);

View File

@ -75,7 +75,8 @@ namespace llvm {
std::string getQualifiedName() const;
// Map of composite subreg indices.
typedef DenseMap<CodeGenSubRegIndex *, CodeGenSubRegIndex *> CompMap;
    typedef std::map<CodeGenSubRegIndex *, CodeGenSubRegIndex *,
                     deref<llvm::less>> CompMap;
// Returns the subreg index that results from composing this with Idx.
// Returns NULL if this and Idx don't compose.