1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Transforms/Mem2Reg
Johannes Doerfert ac3ceab3a2 [Mem2Reg] Teach promote to register about droppable instructions
This is the first of two patches to address PR46753. We basically allow
mem2reg to promote allocas that are used in doppable instructions, for
now that means `llvm.assume`. The uses of the alloca (or a bitcast or
zero offset GEP from there) are replaced by `undef` in the droppable
instructions.

Reviewed By: Tyker

Differential Revision: https://reviews.llvm.org/D83976
2020-07-24 15:15:38 -05:00
..
2002-03-28-UninitializedVal.ll
2002-05-01-ShouldNotPromoteThisAlloca.ll
2003-04-10-DFNotFound.ll
2003-04-18-DeadBlockProblem.ll
2003-04-24-MultipleIdenticalSuccessors.ll
2003-06-26-IterativePromote.ll
2003-10-05-DeadPHIInsertion.ll
2005-06-30-ReadBeforeWrite.ll
2005-11-28-Crash.ll
2007-08-27-VolatileLoadsStores.ll
alloca_addrspace.ll
atomic.ll
ConvertDebugInfo2.ll
ConvertDebugInfo.ll
crash.ll
dbg-addr-inline-dse.ll
dbg-addr.ll
dbg-inline-scope-for-phi.ll
debug-alloca-phi-2.ll
debug-alloca-phi.ll
debug-alloca-vla-1.ll
debug-alloca-vla-2.ll
ignore-droppable.ll
ignore-lifetime.ll
optnone.ll
pr24179.ll
pr37632-unreachable-list-of-stores.ll
preserve-nonnull-load-metadata.ll
PromoteMemToRegister.ll
undef-order.ll
UndefValuesMerge.ll