[Attributor] Fix: Do not partially resolve returned calls.
authorJohannes Doerfert <jdoerfert@anl.gov>
Fri, 16 Aug 2019 21:59:52 +0000 (21:59 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Fri, 16 Aug 2019 21:59:52 +0000 (21:59 +0000)
commitf72d9b1c97b41fff48ad1eecbba59a29c171bff4
tree15d13f1aef1b009c6acfc472b1c7f81f683dd1e3
parentcbaf1fdea2de891bdbc49cdec89ae2077e6b9ed0
[Attributor] Fix: Do not partially resolve returned calls.

By partially resolving returned calls we did not record that they were
not fully resolved which caused odd behavior down the line. We could
also end up with some, but not all, returned values of the callee in the
returned values map of the caller, another odd behavior we want to
avoid.

llvm-svn: 369160
llvm/lib/Transforms/IPO/Attributor.cpp