llvm-project/llvm
Heejin Ahn e2bcab6100 [WebAssembly] Make sure EH pads are preferred in sorting
Summary:
In CFGSort, we try to make EH pads have higher priorities as soon as
they are ready to be sorted, to prevent creation of unwind destination
mismatches in CFGStackify. We did that by making priority queues'
comparison function  prefer EH pads, but it was possible for an EH pad
to be popped from `Preferred` queue and then not sorted immediately and
enter `Ready` queue instead in a certain condition. This patch makes
sure that special condition does not consider EH pads as its candidates.

Reviewers: dschuff

Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68229

llvm-svn: 373302
2019-10-01 06:53:28 +00:00
..
benchmarks
bindings [OCaml] Handle nullptr in Llvm.global_initializer 2019-10-01 03:45:09 +00:00
cmake build: serialise `LLVM_ENABLE_UNWIND_TABLES` into LLVMConfig 2019-09-30 20:03:59 +00:00
docs [llvm-readobj/llvm-readelf] Delete --arm-attributes (alias for --arch-specific) 2019-10-01 01:31:15 +00:00
examples [Orc] Roll back ThreadPool to std::function 2019-09-13 11:59:51 +00:00
include Remove a undefined constructor introduced by r373244. 2019-10-01 02:08:14 +00:00
lib [WebAssembly] Make sure EH pads are preferred in sorting 2019-10-01 06:53:28 +00:00
projects
resources
runtimes Adding support for overriding LLVM_ENABLE_RUNTIMES for runtimes builds. 2019-09-24 22:38:18 +00:00
test [WebAssembly] Make sure EH pads are preferred in sorting 2019-10-01 06:53:28 +00:00
tools [llvm-readobj/llvm-readelf] Delete --arm-attributes (alias for --arch-specific) 2019-10-01 01:31:15 +00:00
unittests [NewPM] Port MachineModuleInfo to the new pass manager. 2019-09-30 17:54:50 +00:00
utils [FileCheck] Remove implementation types from API 2019-09-30 14:12:03 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes Fix the "git modified" issue on the preserve-comments-crlf.s. 2019-09-10 12:17:49 +00:00
.gitignore
CMakeLists.txt Revert "Reland "[utils] Implement the llvm-locstats tool"" 2019-09-30 11:19:11 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.