[Attributor][NFCI] Remove the (already "unused") ModuleSlice
authorJohannes Doerfert <johannes@jdoerfert.de>
Fri, 30 Jun 2023 05:07:14 +0000 (22:07 -0700)
committerJohannes Doerfert <johannes@jdoerfert.de>
Fri, 30 Jun 2023 06:08:11 +0000 (23:08 -0700)
commit5faa616fe4bdfd3f18ba168ee85b164783a0bb3c
tree677c5e7fa2157da5aca2a525416befa9f9f79a61
parent7b330fa80be028fc0425796c0f2792cc6b5fefd9
[Attributor][NFCI] Remove the (already "unused") ModuleSlice

At some point we alloed the CGSCC traversal to look at the entire module
slice (see definition below). However, we don't allow that anymore,
mostly for compile time and complexity reasons. Consequently, there is
no need to build the ModuleSlice as we can replacve it with the SCC
wherever it was still used.
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/OpenMPOpt.cpp