Lift the speculation visitor above all the helpers that are targeted at
authorChandler Carruth <chandlerc@gmail.com>
Fri, 5 Oct 2012 01:29:06 +0000 (01:29 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 5 Oct 2012 01:29:06 +0000 (01:29 +0000)
commit0e9da58af0e480af2fa87f8a61aa28b465fec280
tree36f75d6f6082ed668200dac97515f5646661d62f
parent0a0311759babb267c087482bfde9614544c51e0d
Lift the speculation visitor above all the helpers that are targeted at
the rewrite visitor to make the fact that the speculation is completely
independent a bit more clear.

I promise that this is just a cut/paste of the one visitor and adding
the annonymous namespace wrappings. The diff may look completely
preposterous, it does in git for some reason.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165284 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SROA.cpp