[all-commits] [llvm/llvm-project] 364837: [WebAssembly] Fix a non-determinism problem in Fix...
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Fri Feb 21 17:08:31 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3648370a79235ddc7a26c2db5b968725c320f6aa
https://github.com/llvm/llvm-project/commit/3648370a79235ddc7a26c2db5b968725c320f6aa
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2020-02-21 (Fri, 21 Feb 2020)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list