llvm-project/llvm/test/Analysis/GlobalsModRef
Arnold Schwaighofer 833a82ecde BasicAA: Use reachabilty instead of dominance for checking value equality in phi
cycles

This allows the value equality check to work even if we don't have a dominator
tree. Also add some more comments.

I was worried about compile time impacts and did not implement reachability but
used the dominance check in the initial patch. The trade-off was that the
dominator tree was required.
The llvm utility function isPotentiallyReachable cuts off the recursive search
after 32 visits. Testing did not show any compile time regressions showing my
worries unjustfied.

No compile time or performance regressions at O3 -flto -mavx on test-suite +
externals.

Addresses review comments from r198290.

llvm-svn: 198400
2014-01-03 05:47:03 +00:00
..
2008-09-03-ReadGlobals.ll FileCheck-ize tests. 2012-04-24 10:45:44 +00:00
aliastest.ll BasicAA: Use reachabilty instead of dominance for checking value equality in phi 2014-01-03 05:47:03 +00:00
chaining-analysis.ll FileCheck-ize tests. 2012-04-24 10:45:44 +00:00
indirect-global.ll FileCheck-ize tests. 2012-04-24 10:45:44 +00:00
modreftest.ll FileCheck-ize tests. 2012-04-24 10:45:44 +00:00
pr12351.ll
purecse.ll FileCheck-ize tests. 2012-04-24 10:45:44 +00:00
volatile-instrs.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-29 22:42:01 +00:00