llvm-project/llvm/test/Transforms/CodeGenPrepare
Tim Northover 37b96d51d0 CodeGenPrep: remove AssertingVH references before deleting dead instructions.
CodeGenPrepare keeps fairly close track of various instructions it's
seen, particularly GEPs, in maps and vectors. However, sometimes those
instructions become dead and get removed while it's still executing.
This triggers AssertingVH references to them in an asserts build and
could lead to miscompiles in a release build (I've only seen a later
segfault though).

So this patch adds a callback to
RecursivelyDeleteTriviallyDeadInstructions which can make sure the
instruction about to be deleted is removed from CodeGenPrepare's data
structures.
2020-07-15 15:19:21 +01: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 [CGP] Reset the debug location when promoting zext(s). 2020-06-17 11:13:13 -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 [CodeGenPrepare] Fix use-after-free 2019-08-16 23:10:34 +00:00
skip-merging-case-block.ll [CodeGenPrepare][test] Add REQUIRES to two tests after D73754 2020-02-02 09:53:17 -08:00