[Attributor][NFC] Predetermine the module
authorJohannes Doerfert <johannes@jdoerfert.de>
Tue, 17 Mar 2020 01:18:07 +0000 (20:18 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 2 Apr 2020 02:56:17 +0000 (21:56 -0500)
commit54d6a608bf81952fa042b101c31f58e8bfa9b1fd
tree81451b4bc7d46d726ac1d9472bfd1b8be3b13376
parent9e19693994dce2f3f897ee90aa25296bc0e786c0
[Attributor][NFC] Predetermine the module

It could happen that we delete the first function in the SCC in the
future so we should be careful accessing `Functions` after the manifest
stage.
llvm/lib/Transforms/IPO/Attributor.cpp