llvm-project/llvm/lib
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
..
Analysis [ConstantFolding] Fold constant calls to log2() 2019-09-30 20:53:23 +00:00
AsmParser [IR] allow fast-math-flags on phi of FP values (2nd try) 2019-09-25 14:35:02 +00:00
BinaryFormat [BinaryFormat] Teach identify_magic about Tapi files. 2019-08-21 21:00:16 +00:00
Bitcode MetadataLoader lazyLoadOneMetadata - silence static analyzer dyn_cast<MDNode> null dereference warning. NFCI. 2019-09-26 11:30:47 +00:00
Bitstream [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
CodeGen GlobalISel: Handle llvm.read_register 2019-10-01 02:07:16 +00:00
DebugInfo DebugInfo: Add parsing support for debug_loc base address specifiers 2019-10-01 00:29:13 +00:00
Demangle llvm-undname: Add support for demangling typeinfo names 2019-09-23 13:13:37 +00:00
ExecutionEngine [Alignment][NFC] Remove unneeded llvm:: scoping on Align types 2019-09-27 12:54:21 +00:00
FuzzMutate [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Fuzzer
IR [LegacyPassManager] Attempt to fix BasicBlockManager 2019-09-30 17:23:49 +00:00
IRReader
LTO [LTO][Legacy] Add new C inferface to query libcall functions 2019-09-16 18:49:54 +00:00
LineEditor [CMake] Delete redundant DEPENDS/LINK_LIBS from LineEditor/XRay 2019-06-22 01:50:21 +00:00
Linker [IRMover] Don't map globals if their types are the same 2019-09-11 18:35:49 +00:00
MC Revert "[MC] Emit unused undefined symbol even if its binding is not set" 2019-09-30 18:13:48 +00:00
MCA [MCA] Use references to LSUnitBase in class Scheduler and add helper methods to acquire/release LS queue entries. NFCI 2019-09-30 17:24:25 +00:00
Object [Alignment][NFC] Remove unneeded llvm:: scoping on Align types 2019-09-27 12:54:21 +00:00
ObjectYAML [yaml2elf] - Support describing .stack_sizes sections using unique suffixes. 2019-09-25 12:09:30 +00:00
Option [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Passes [NewPM] Port MachineModuleInfo to the new pass manager. 2019-09-30 17:54:50 +00:00
ProfileData Recommit [SampleFDO] Expose an interface to return the size of a section 2019-09-21 17:23:55 +00:00
Remarks [Remarks] Allow remarks::Format::YAML to take a string table 2019-09-16 22:45:17 +00:00
Support [FileCheck] Remove implementation types from API 2019-09-30 14:12:03 +00:00
TableGen TGParser::ParseOperation - silence static analyzer dyn_cast<TypedInit> null dereference warning. NFCI. 2019-09-26 17:11:02 +00:00
Target [WebAssembly] Make sure EH pads are preferred in sorting 2019-10-01 06:53:28 +00:00
Testing [Testing] Move clangd::Annotations to llvm testing support 2019-04-25 10:08:31 +00:00
TextAPI [TextAPI] Remove redundant checking causing warnings. NFC. 2019-09-24 14:52:13 +00:00
ToolDrivers [llvm-dlltool] Handle external and internal names with differing decoration 2019-09-02 13:28:16 +00:00
Transforms [SimplifyLibCalls] Define the value of the Euler number 2019-09-30 23:21:02 +00:00
WindowsManifest Fight a bit against global initializers. NFC. 2019-08-22 19:43:27 +00:00
XRay [XRay] Silence static analyzer dyn_cast<BufferExtents> null dereference warning. NFCI. 2019-09-22 18:47:00 +00:00
CMakeLists.txt Fix build errors LLVM tests are disabled. 2019-07-11 22:08:35 +00:00
LLVMBuild.txt [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00