[llvm-commits] [PATCH] Memory Dependence Analysis: differenciate "unknown" from "no dependency in current function"

Guo, Xiaoyi Xiaoyi.Guo at amd.com
Tue Oct 11 16:57:48 PDT 2011


If the memory dependence analysis did not find any dependence for a pointer in the current function, it currently returns "Unknown" as the result. However, in the optimization that I'm doing, I need to be able to tell this case apart from a general "unknown" case. i.e., I need to know that the pointer does not have any dependencies in the current function. The patch attached is to achieve this.

Please help to review and commit if acceptable.

Thanks,
Xiaoyi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MemoryDependenceAnalysis.diff
Type: application/octet-stream
Size: 3795 bytes
Desc: MemoryDependenceAnalysis.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111011/0742b63e/attachment.obj>


More information about the llvm-commits mailing list