[SROA] Rip out all support for SSAUpdater in SROA.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 26 Aug 2015 09:09:29 +0000 (09:09 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 26 Aug 2015 09:09:29 +0000 (09:09 +0000)
commit16d857e06ed633a18d3cc6fe0caa7e9421a5dc9e
tree9c79942e8f89f27a74c489f324c33d0c6c140549
parentd4dfd88badf1be13f2c5da98e48b0dc7bd10f3cd
[SROA] Rip out all support for SSAUpdater in SROA.

This was only added to preserve the old ScalarRepl's use of SSAUpdater
which was originally to avoid use of dominance frontiers. Now, we only
need a domtree, and we'll need a domtree right after this pass as well
and so it makes perfect sense to always and only use the dom-tree
powered mem2reg. This was flag-flipper earlier and has stuck reasonably
so I wanted to gut the now-dead code out of SROA before we waste more
time with it. Among other things, this will make passmanager porting
easier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246028 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Scalar.h
lib/Transforms/Scalar/SROA.cpp
test/Transforms/SROA/basictest.ll
test/Transforms/SROA/big-endian.ll
test/Transforms/SROA/fca.ll