llvm-project/llvm/test/Transforms/CodeGenPrepare
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
..
AArch64 Recommit "[PatternMatch] Match XOR variant of unsigned-add overflow check." 2020-02-23 18:33:18 +00:00
AMDGPU BypassSlowDivision: Fix dropping debug info 2020-06-18 17:27:19 -04:00
ARM CodeGenPrep: remove AssertingVH references before deleting dead instructions. 2020-07-15 15:19:21 +01:00
Mips
NVPTX
PowerPC [CodeGen] Fix the computation of the alignment of split stores. 2020-02-12 10:37:30 +01:00
SPARC [TargetLower] Update shouldFormOverflowOp check if math is used. 2020-02-19 11:28:33 +01:00
X86 [CodeGenPrepare] Fix zapping dead operands of assume 2020-09-14 11:46:34 +07:00
dom-tree.ll [CodeGenPrepare][test] Add REQUIRES to two tests after D73754 2020-02-02 09:53:17 -08:00
sink-shift-and-trunc.ll
skip-merging-case-block.ll [CodeGenPrepare][test] Add REQUIRES to two tests after D73754 2020-02-02 09:53:17 -08:00