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)
commit90c4a3ae20c1c264e28ee21638f7d7c27c9cb576
tree196b72fd44d0a746a2a16ce8bd2c0ce2bc244c5d
parent15f17cbbd81365baeb1d02f3a13ad9cc7b426cae
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.

llvm-svn: 165284
llvm/lib/Transforms/Scalar/SROA.cpp