Like what has been done in AArch64 (D125335).
We enable this under -O2 to show the codegen diffs here but we
may only do this under -O3 like AArch64.
There are two cases that we may produce these eliminable copies:
- ISel of FrameIndex. Like rvv/fixed-vectors-calling-conv.ll.
- Tail duplication. Like select-optimize-multiple.ll.
Can this be before the two Expand passes? Especially the one that says "last possible moment"?