llvm-project/llvm/test/Transforms/CodeGenPrepare
Eli Friedman a69084ffa8 [CodeGenPrepare] Fix bad IR created by large offset GEP splitting.
Creating the IR builder, then modifying the CFG, leads to an IRBuilder
where the BB and insertion point are inconsistent, so new instructions
have the wrong parent.

Modified an existing test because the test wasn't covering anything
useful (the "invoke" was not actually an invoke by the time we hit the
code in question).

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

llvm-svn: 349693
2018-12-19 22:52:04 +00:00
..
AArch64 [CodeGenPrepare] Fix bad IR created by large offset GEP splitting. 2018-12-19 22:52:04 +00:00
AMDGPU AMDGPU: Fix tests using old number for constant address space 2018-09-10 02:54:25 +00:00
ARM [CodeGen] Enable tail calls for functions with NonNull attributes. 2018-09-26 10:46:18 +00:00
Mips [CodeGenPrepare] Check that erased sunken address are not reused 2017-11-24 16:45:28 +00:00
NVPTX [BypassSlowDivision] Improve our handling of divisions by constants 2017-12-04 19:21:58 +00:00
X86 [CodeGenPrepare] Set debug loc when widening a switch condition 2018-08-22 01:23:31 +00:00
2008-11-24-RAUW-Self.ll
basic.ll Make llvm.objectsize more conservative with null 2018-07-09 22:21:16 +00:00
bitreverse-hang.ll
builtin-condition.ll
crash-on-large-allocas.ll
dom-tree.ll
gep-unmerging.ll
invariant.group.ll Implement strip.invariant.group 2018-07-02 04:49:30 +00:00
nonintegral.ll
overflow-intrinsics.ll [CodeGenPrepare] Set debug locs when folding a comparison into a uadd.with.overflow 2018-08-22 18:15:03 +00:00
section-samplepgo.ll [SampleFDO] handle ProfileSampleAccurate when initializing function entry count 2018-12-13 21:51:42 +00:00
section.ll [PGO] Function section hotness prefix should look at all blocks 2017-12-20 17:53:10 +00:00
sink-shift-and-trunc.ll [CodeGenPrepare] Preserve debug locs in OptimizeExtractBits 2018-09-15 04:08:52 +00:00
skip-merging-case-block.ll Revert "[CGP] Merge empty case blocks if no extra moves are added." 2017-10-27 00:35:18 +00:00
split-indirect-loop.ll
statepoint-relocate.ll