llvm-project/llvm/test/Transforms/CodeGenPrepare/X86
Yevgeny Rouban 88690a9658 [CodeGenPrepare] Fix zapping dead operands of assume
This patch fixes a problem of the commit 52cc97a0.
A test case is created to demonstrate the crash caused by
the instruction iterator invalidated by the recursive
removal of dead operands of assume. The solution restarts
from the blocks's first instruction in case CurInstIterator
is invalidated by RecursivelyDeleteTriviallyDeadInstructions().

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D87434
2020-09-14 11:46:34 +07:00
..
2008-11-24-RAUW-Self.ll
bitreverse-hang.ll
catchpad-phi-cast.ll
cgp_shuffle_crash.ll [IR] Remove assert from ShuffleVectorInst 2020-06-11 14:52:17 +01:00
computedgoto.ll
cttz-ctlz.ll
delete-assume-dead-code.ll [CodeGenPrepare] Zap the argument of llvm.assume when deleting it 2020-08-28 20:52:22 +02:00
ext-logicop.ll
extend-sink-hoist.ll [CodeGenPrepare] Delete intrinsic call to llvm.assume to enable more tailcall 2020-03-31 11:55:51 -07:00
fcmp-sinking.ll
freeze-brcond.ll Rename test name, add more tests for codegenprepare 2020-03-25 20:31:12 +09:00
gather-scatter-opt.ll [CodeGenPrepare][X86] Teach optimizeGatherScatterInst to turn a splat pointer into GEP with scalar base and 0 index 2020-09-02 20:44:12 -07:00
gep-unmerging.ll
invariant.group.ll StoreInst should store Align, not MaybeAlign 2020-05-15 12:26:58 -07:00
lit.local.cfg
memset_chk-simplify-nobuiltin.ll
multi-extension.ll
nonintegral.ll
optimizeSelect-DT.ll [CodeGenPrepare] Delete intrinsic call to llvm.assume to enable more tailcall 2020-03-31 11:55:51 -07:00
overflow-intrinsics.ll Recommit "[PatternMatch] Match XOR variant of unsigned-add overflow check." 2020-02-23 18:33:18 +00:00
pr27536.ll
pr35658.ll
promoted-trunc-loc.ll [CGP] Add `--match-full-lines` to make sure we don't have a dbg attachment. 2020-06-16 14:05:28 -07:00
promoted-zext-debugloc.ll [CGP] Reset the debug location when promoting zext(s). 2020-06-17 11:13:13 -07:00
recursively-delete-dead-instructions.ll [CodeGenPrepare] Fix zapping dead operands of assume 2020-09-14 11:46:34 +07:00
section-samplepgo.ll
section.ll [TargetLoweringObjectFileImpl] Produce .text.hot. instead of .text.hot for -fno-unique-section-names 2020-05-12 14:14:17 -07:00
select.ll [CodeGenPrepare] Freeze condition when transforming select to br 2020-03-16 12:46:20 +09:00
sink-addrmode-base.ll
sink-addrmode-select.ll
sink-addrmode-two-phi.ll
sink-addrmode.ll
sink-addrspacecast.ll
split-indirect-loop.ll
split-store-alignment.ll [CodeGen] Fix the computation of the alignment of split stores. 2020-02-12 10:37:30 +01:00
statepoint-relocate.ll [Tests] Be consistent w/definition of statepoint-example 2020-08-14 20:45:48 -07:00
tailcall-assume-xbb.ll [CodeGenPrepare] Delete intrinsic call to llvm.assume to enable more tailcall 2020-03-31 11:55:51 -07:00
vec-shift.ll [x86][CGP] try to hoist funnel shift above select-of-splats 2020-05-16 10:44:47 -04:00
widen_switch.ll
widenable-condition.ll
x86-shuffle-sink.ll [x86][CGP] enable target hook to sink funnel shift intrinsic's splatted shift amount 2020-05-12 18:40:40 -04:00