[PATCH] D12414: [NVPTX] add an NVPTX-specific alias analysis

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 10:57:40 PDT 2016

hfinkel added a comment.

In http://reviews.llvm.org/D12414#375657, @jingyue wrote:

> It doesn't work with the new alias analysis infrastructure.
> I didn't manage to find a way to run it with `opt`. The new AliasAnalysis needs to know and populate all potential alias analyses in a target-independent phase. However, NVPTXAliasAnalysis is target-dependent and not even visible to AliasAnalysis (e.g. compiling LLVM with NVPTX disabled).

Do you have an alternative plan?

It seems like we could add a feature in the new AA to query a target-provided analysis.


More information about the llvm-commits mailing list