[Attributor] Annotate call sites of declarations with a callback
authorJohannes Doerfert <johannes@jdoerfert.de>
Sat, 14 Dec 2019 05:41:02 +0000 (23:41 -0600)
committerJohannes Doerfert <johannes@jdoerfert.de>
Sat, 14 Dec 2019 05:51:59 +0000 (23:51 -0600)
commit139c9ef45afeb7f76d3f612315506e30010b3204
treecf0142c5e196bf705dbb89818b58a2bf7438c324
parentdab7d515bac92f244230912aa8490aa17e41df4a
[Attributor] Annotate call sites of declarations with a callback

Even if a declaration is called, if there is a callback we might need
the information during CG-SCC traversal (D70767).
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
llvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll