diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-05 22:09:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-05 22:09:15 +0000 |
commit | 5fa417c7904f7394d4e6dcb86e366c86867bcb5a (patch) | |
tree | 68a0821883973c55b5f4f210abc85726e4ec50c1 /test/Analysis | |
parent | 3ecf355c7a6f6f559f3c85b46d041ffda5163a8c (diff) | |
download | external_llvm-5fa417c7904f7394d4e6dcb86e366c86867bcb5a.zip external_llvm-5fa417c7904f7394d4e6dcb86e366c86867bcb5a.tar.gz external_llvm-5fa417c7904f7394d4e6dcb86e366c86867bcb5a.tar.bz2 |
Fix memdep's code for reasoning about dependences between two calls. A Ref
response from getModRefInfo is not useful here. Instead, check for identical
calls only in the NoModRef case.
Reapply r110270, and strengthen it to compensate for the memdep changes.
When both calls are readonly, there is no dependence between them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r-- | test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll b/test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll index 953eaa8..f655913 100644 --- a/test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll +++ b/test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s -; XFAIL: * ; CHECK: Just Ref: call void @ro() <-> call void @f0() |