[OpenMP] Allow the Attributor to look at functions we also internalized
authorJohannes Doerfert <johannes@jdoerfert.de>
Fri, 12 Aug 2022 23:33:29 +0000 (18:33 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Mon, 12 Sep 2022 03:16:11 +0000 (20:16 -0700)
commit21711039e3ab3fd9ed296cc2c07a011c09dd170b
tree641dba40a3189f7ca9a4b5033cb91b9a6ff307e9
parenta3c05df16bc66d8ac84c1b10a74f59b12eb25a94
[OpenMP] Allow the Attributor to look at functions we also internalized

This is important as we have accesses to globals in those which we need to
categorize.
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/remove_globalization.ll