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...

llvm-svn: 52455
2 files changed
tree: cdb07215e2ae410492cb92f393e189db2a0619d4
  1. clang/
  2. llvm/