This reverts commit e26c24b849211f35a988d001753e0cd15e4a9d7b.
These temporaries are only used in the callee, and their memory can be
reused after the call is complete.
rdar://58552124
Original Author: Erik Pilkington <erik.pilkington@gmail.com>
In order to help users transition to a more disciplined lifetime of
temporaries, the flag -Xclang -sloppy-temporary-lifetimes was added,
which can allow them to retain the previous behavior.
Link: https://github.com/llvm/llvm-project/issues/38157
Link: https://github.com/llvm/llvm-project/issues/41896
Link: https://github.com/llvm/llvm-project/issues/43598
Link: https://github.com/ClangBuiltLinux/linux/issues/39
Link: https://reviews.llvm.org/rGfafc6e4fdf3673dcf557d6c8ae0c0a4bb3184402
Is there any other use of EmitAnyExprToTemp that can benefit from this?