1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/lib
Bill Wendling b0df282414 Branch folding is folding a landing pad into a regular BB.
An exception is thrown via a call to _cxa_throw, which we don't expect to
return. Therefore, the "true" part of the invoke goes to a BB that has
'unreachable' as its only instruction. This is lowered into an empty MachineBB.
The landing pad for this invoke, however, is directly after the "true" MBB.
When the empty MBB is removed, the landing pad is directly below the BB with the
invoke call. The unconditional branch is removed and then the two blocks are
merged together.

The testcase is too big for a regression test.
<rdar://problem/9305728>

llvm-svn: 129965
2011-04-22 01:07:09 +00:00
..
Analysis PR9214: Convert Metadata API to use ArrayRef. 2011-04-21 19:59:31 +00:00
Archive Revert PathV2 changes, as sys::fs::unique_file is not finished yet. 2011-03-01 19:50:55 +00:00
AsmParser PR9214: Convert Metadata API to use ArrayRef. 2011-04-21 19:59:31 +00:00
Bitcode PR9214: Convert Metadata API to use ArrayRef. 2011-04-21 19:59:31 +00:00
CodeGen Branch folding is folding a landing pad into a regular BB. 2011-04-22 01:07:09 +00:00
CompilerDriver Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
ExecutionEngine Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
Linker Set the unnamed_addr only when we're creating a new GV in the dest module. 2011-03-29 23:31:06 +00:00
MC Compute the size of the FDE encoding instead of hard coding it. Update 2011-04-22 00:08:43 +00:00
Object Start migrating mach-o dumping facilities to the object file out of a 2011-04-03 23:51:47 +00:00
Support Add DW_OP_bit_piece. 2011-04-21 22:26:13 +00:00
Target Compute the size of the FDE encoding instead of hard coding it. Update 2011-04-22 00:08:43 +00:00
Transforms PR9214: Convert Metadata API to use ArrayRef. 2011-04-21 19:59:31 +00:00
VMCore PR9214: Convert Metadata API to use ArrayRef. 2011-04-21 19:59:31 +00:00
CMakeLists.txt Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
Makefile