[Attributor] Manifest simplified (return) values properly
authorJohannes Doerfert <johannes@jdoerfert.de>
Sat, 15 Feb 2020 02:11:22 +0000 (20:11 -0600)
committerJohannes Doerfert <johannes@jdoerfert.de>
Sat, 15 Feb 2020 03:44:46 +0000 (21:44 -0600)
commitad121ea14d85ea3216048d4e956eb234899f41f7
tree94d661c7a5fbe329128934a44c23060f8b23f99a
parentb53af0e7f952feb0a54eff2ef9c9e38e62620a4b
[Attributor] Manifest simplified (return) values properly

If we simplify a function return value we have to modify the return
instructions.
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
llvm/test/Transforms/Attributor/value-simplify.ll