llvm-project/llvm/test/Transforms/CodeGenPrepare/ARM
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
..
bitreverse-recognize.ll
dead-gep.ll CodeGenPrep: remove AssertingVH references before deleting dead instructions. 2020-07-15 15:19:21 +01:00
large-offset-gep.ll
lit.local.cfg
memory-intrinsics.ll
overflow-intrinsics.ll
sink-add-mul-shufflevector.ll [ARM] Replace arm vendor with none. NFC 2020-04-22 18:19:35 +01:00
sink-addrmode.ll
sink-free-instructions.ll
sinkchain.ll [ARM] Replace arm vendor with none. NFC 2020-04-22 18:19:35 +01:00
splitgep.ll
tailcall-dup.ll