[Attributor][FIX] Do not create new calls edge we cannot handle
authorJohannes Doerfert <johannes@jdoerfert.de>
Mon, 17 Feb 2020 05:04:25 +0000 (23:04 -0600)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 20 Feb 2020 04:33:51 +0000 (22:33 -0600)
commit16188f9d70d77ca9ff1d1d2ff2db64479341e9bf
tree5c0f029c06aea1fa443d5457bf6e2221f6ad70cf
parent14fb31795a4bd25798bc2788dd4d4e38e3ea41c7
[Attributor][FIX] Do not create new calls edge we cannot handle

If we propagate function pointers across function boundaries we can
create new call edges. These need to be represented in the CG if we run
as a CGSCC pass. In the new pass manager that is currently not handled
by the CallGraphUpdater so we need to prevent the situation for now.
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp