diff options
author | Heejin Ahn <aheejin@gmail.com> | 2020-02-21 17:01:52 -0800 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2020-02-21 17:05:46 -0800 |
commit | 3648370a79235ddc7a26c2db5b968725c320f6aa (patch) | |
tree | 057ea1a1997953349559331b4c57ffb819e82629 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d17123b2577e610b2a19de1f530cecea353c8c7a (diff) | |
download | llvm-3648370a79235ddc7a26c2db5b968725c320f6aa.zip llvm-3648370a79235ddc7a26c2db5b968725c320f6aa.tar.gz llvm-3648370a79235ddc7a26c2db5b968725c320f6aa.tar.bz2 |
[WebAssembly] Fix a non-determinism problem in FixIrreducibleControlFlow
Summary:
We already sorted the blocks when fixing up a set of mutual
loop entries, however, there can be multiple sets of such
mutual loop entries, and the order we encounter them
should not be random, so sort them too.
Fixes https://bugs.llvm.org/show_bug.cgi?id=44982
Patch by Alon Zakai (kripken)
Reviewers: aheejin, sbc100, dschuff
Subscribers: mgrang, sunfish, hiraditya, jgravelle-google, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74999
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions