If a call argument has the "returned" attribute, we can simplify the call to the value of that argument. The "-inst-simplify" pass already handled this for the constant integer argument case via known bits, which is invoked in SimplifyInstruction. However, non-constant (or non-int) arguments are not handled at all right now.
This addresses one of the regressions from D75801.
re: https://bugs.llvm.org/show_bug.cgi?id=46463
Do we need to check that the callee doesn't have the noinline function attribute?