diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-12 10:39:45 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-12 10:39:45 +0000 |
commit | 3e2cbf18b7d0e834bcdb13447320c9234ae85a44 (patch) | |
tree | d9aa98c75dfe04dc9e33fa8ecaf1263070771129 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 564681c88d643ecbb3e5b9fd47479b83f4608c0a (diff) | |
download | bcm5719-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