Reapply r52397 (make IPConstProp promote returned arguments), but fixed this
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 18 Jun 2008 08:30:37 +0000 (08:30 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 18 Jun 2008 08:30:37 +0000 (08:30 +0000)
commitc2afe89019790adb2c590397960d69b8f1d9a537
treecc719815f557bcfec364560d61cb88cad21b9eca
parent359e9371b9537ddf60229c8c219c2b51b8574a08
Reapply r52397 (make IPConstProp promote returned arguments), but fixed this
time. Sorry for the trouble!

This time, also add a testcase, which I should have done in the first place...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52455 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/IPConstantPropagation.cpp
test/Transforms/IPConstantProp/return-argument.ll [new file with mode: 0644]