[llvm-dev] AA on intrinsics w/ side effects

Hendrik Greving via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 9 10:27:20 PST 2020


Is there anything that can be used target specific to do AA for intrinsics
w/ side effects but no specific memory pointer?

e.g.
instr_custom_A // implicitly only address space A
instr_custom_B // implicitly only address space B

Is there anything in any AA step except e.g. manually propagating
alias.scope that would help disambiguating that they are disjoint (in
llvm-ir)?

The only idea I have is to add unused pointer arguments to the intrinsics
for each memory space that are always null, combined w/ IntrArgMemOnly,
maybe additionally handling it then w/ external AA.

Thanks for help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201209/e1481d40/attachment-0001.html>


More information about the llvm-dev mailing list