[llvm-dev] GlobalsAA from GVN

Vaivaswatha Nagaraj via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 2 01:34:51 PST 2015


I've noticed that alias analysis queries arising from GVN do not use the
results from GlobalsAA.
The last call to AAResultsWrapperPass::runOnFunction() before GVN does not
add GlobalsAAWrapperPass due to unavailability. This leads to the alias
queries from GVN not having any globals mod-ref info.

Is this a known issue? and is there any way to have globals mod-ref info
available for GVN?


  - Vaivaswatha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151202/8a2a7cbb/attachment.html>

More information about the llvm-dev mailing list