llvm-6502/test/Analysis/GlobalsModRef
Arnold Schwaighofer 3036182e99 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198400 91177308-0d34-0410-b5e6-96231b3b80d8
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