summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-12 10:39:45 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-12 10:39:45 +0000
commit3e2cbf18b7d0e834bcdb13447320c9234ae85a44 (patch)
treed9aa98c75dfe04dc9e33fa8ecaf1263070771129 /clang/lib/CodeGen/CodeGenModule.cpp
parent564681c88d643ecbb3e5b9fd47479b83f4608c0a (diff)
downloadbcm5719-llvm-3e2cbf18b7d0e834bcdb13447320c9234ae85a44.tar.gz
bcm5719-llvm-3e2cbf18b7d0e834bcdb13447320c9234ae85a44.zip
Stablize MCK_Reg ordering in AsmMatcherEmitter
clang bootstraps intermittently failed for me due a difference in the MCK_Reg ordering in ARMGenAsmMatcher.inc. E.g. in my latest run the stage 1 and stage 3 versions were the same but the stage 2 one was different (though still functionally correct). This meant that the .o comparison failed. MCK_Regs were assigned by iterating over a std::set< std::set<Record*> >, and since std::set is sorted lexicographically, the order depended on the order of the pointer values. This patch replaces the pointer ordering with LessRecordByID. llvm-svn: 188164
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud