forked from OSchip/llvm-project
aef60af34e
Summary: Ignore callback uses when adding a callback function in the CallGraph. Callback functions are typically created when outlining, e.g. for OpenMP, so they have internal scope and linkage. They should not be added to the ExternalCallingNode since they are only callable by the specified caller function at creation time. A CGSCC pass, such as OpenMPOpt, may need to update the CallGraph by adding a new outlined callback function. Without ignoring callback uses, adding breaks CGSCC pass restrictions and results to a broken CallGraph. Reviewers: jdoerfert Subscribers: hiraditya, sstefan1, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83370 |
||
---|---|---|
.. | ||
2008-09-09-DirectCall.ll | ||
2008-09-09-UsedByGlobal.ll | ||
callback-calls.ll | ||
do-nothing-intrinsic.ll | ||
ignore-callback-uses.ll | ||
no-intrinsics.ll | ||
non-leaf-intrinsics.ll |