[PATCH] D76210: [Attributor] AAReachability : use isPotentiallyReachable in isKnownReachable
Shinji Okumura via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 15 21:42:46 PDT 2020
okura created this revision.
okura added reviewers: jdoerfert, uenoku, sstefan1.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
okura updated this revision to Diff 250462.
okura added a comment.
add and modify tests
`isKnownReachable` had only interface (always returns true).
Changed it to call `isPotentiallyReachable`.
This change enables deductions of other Abstract Attributes depending on AAReachability to use reachability information obtained from CFG, and it can make them stronger.
https://reviews.llvm.org/D76210
Files:
llvm/test/Transforms/Attributor/heap_to_stack.ll
llvm/test/Transforms/Attributor/misc.ll
llvm/test/Transforms/Attributor/noalias.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76210.250462.patch
Type: text/x-patch
Size: 5283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200316/9166b814/attachment.bin>
More information about the llvm-commits
mailing list