llvm-6502/test
Chandler Carruth b2d98c2917 Fix PR13969, a mini-phase-ordering issue with the new SROA pass.
Currently, we re-visit allocas when something changes about the way they
might be *split* to allow better scalarization to take place. However,
we weren't handling the case when the *promotion* is what would change
the behavior of SROA. When an address derived from an alloca is stored
into another alloca, we consider the first to have escaped. If the
second is ever promoted to an SSA value, we will suddenly be able to run
the SROA pass on the first alloca.

This patch adds explicit support for this form if iteration. When we
detect a store of a pointer derived from an alloca, we flag the
underlying alloca for reprocessing after promotion. The logic works hard
to only do this when there is definitely going to be promotion and it
might remove impediments to the analysis of the alloca.

Thanks to Nick for the great test case and Benjamin for some sanity
check review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165223 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-04 12:33:50 +00:00
..
Analysis Add default JIT LIT variable. 2012-10-02 10:57:08 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen [ms-inline asm] Add support in the X86AsmPrinter for printing memory references 2012-10-03 22:06:44 +00:00
DebugInfo Revert 165051-165049 while looking into the foreach.m failure in 2012-10-03 08:10:01 +00:00
ExecutionEngine Implement .rel relocation for R_ARM_ABS32 in MCJIT. 2012-10-03 16:29:42 +00:00
Feature
Instrumentation tsan: update the test for new atomic enums 2012-10-03 13:19:20 +00:00
Integer
Linker
MC Implement methods that enable expansion of load immediate 2012-10-04 04:03:53 +00:00
Object
Other Forgot the SPIR test case. 2012-10-01 17:07:51 +00:00
Scripts
TableGen
Transforms Fix PR13969, a mini-phase-ordering issue with the new SROA pass. 2012-10-04 12:33:50 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg test/ExecutionEngine/MCJIT: MCJIT should work also on mingw. 2012-10-03 01:42:37 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh