[Attributor][NCFI] Explicitly state what interfering accesses to look for
authorJohannes Doerfert <johannes@jdoerfert.de>
Fri, 27 Jan 2023 05:05:30 +0000 (21:05 -0800)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 2 Feb 2023 21:59:57 +0000 (13:59 -0800)
commitc4ad24deeed8165f1c636473459982b8d9570e74
tree46088ef56b7338f273f2c1df6d7f543135bcf2b9
parentd98086036a62e4e9c912c3b15bf16893d3df41da
[Attributor][NCFI] Explicitly state what interfering accesses to look for

We used to check the query instructions for effects but that does not
work well with complex accesses we will probably support in the future.
Now we simply let the user decide what accesses to look for.
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/lib/Transforms/IPO/AttributorAttributes.cpp