llvm-project/llvm/lib
Ahmed Bougacha fb6eeb74c5 [MachineVerifier] Accept a MBB with a single landing pad successor.
The MachineVerifier used to check that there was always exactly one
unconditional branch to a non-landingpad (normal) successor.
If that normal successor to an invoke BB is unreachable, it seems
reasonable to only have one successor, the landing pad.
On targets other than AArch64 (and on AArch64 with a different testcase),
the branch folder turns the branch to the landing pad into a fallthrough.
The MachineVerifier, which relies on AnalyzeBranch, is unable to check
the condition, and doesn't complain. However, it does in this specific
testcase, where the branch to the landing pad remained.
Make the MachineVerifier accept it.

llvm-svn: 223059
2014-12-01 18:43:53 +00:00
..
Analysis Relax an assert a bit to avoid a crash on unreachable code. 2014-12-01 02:55:24 +00:00
AsmParser Update SetVector to rely on the underlying set's insert to return a pair<iterator, bool> 2014-11-19 07:49:26 +00:00
Bitcode Add and use Type::subtypes. NFC. 2014-11-24 20:44:36 +00:00
CodeGen [MachineVerifier] Accept a MBB with a single landing pad successor. 2014-12-01 18:43:53 +00:00
DebugInfo Make DWARFAcceleratorTable::dump() const. 2014-11-20 16:21:11 +00:00
ExecutionEngine Add LLVMObject to LLVMExecutionEngine. 2014-11-27 06:36:22 +00:00
IR Revert "Masked Vector Load and Store Intrinsics." 2014-11-28 21:29:14 +00:00
IRReader Remove unused variable. NFC. 2014-11-06 23:16:57 +00:00
LTO Remove StringMap::GetOrCreateValue in favor of StringMap::insert 2014-11-19 05:49:42 +00:00
LineEditor [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Linker Drop SrcStructTypesSet. It is redundant. 2014-12-01 18:42:18 +00:00
MC Commit back the correct bits of r222760 (was r222538). 2014-11-27 17:13:56 +00:00
Object Object/COFF: Fix off-by-one error for object having lots of relocations 2014-11-26 22:17:25 +00:00
Option Add an overload of getLastArgNoClaim taking two OptSpecifiers. 2014-09-12 19:42:53 +00:00
ProfileData llvm-cov: Sink some reporting logic into CoverageMapping 2014-11-14 01:50:32 +00:00
Support [msan] Annotate zlib functions for MemorySanitizer. 2014-11-25 15:24:07 +00:00
TableGen Revert r222957 "Replace std::map<K, V*> with std::map<K, V> to handle ownership and deletion of the values." 2014-11-30 01:20:17 +00:00
Target ARM: lower tail calls correctly when using GHC calling convention. 2014-12-01 17:46:39 +00:00
Transforms Revert r223049, r223050 and r223051 while investigating test failures. 2014-12-01 17:36:43 +00:00
CMakeLists.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
LLVMBuild.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
Makefile ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00