1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Transforms/CodeGenPrepare
Tim Northover e5ccba81cf 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
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
SPARC
X86 [CGP] Reset the debug location when promoting zext(s). 2020-06-17 11:13:13 -07:00
dom-tree.ll
sink-shift-and-trunc.ll
skip-merging-case-block.ll