Files
clang-p2996/llvm/lib/CodeGen/MachineCopyPropagation.cpp
Piyou Chen 2def1c4458 [RISCV][MCP] Remove redundant move from tail duplication (#89865)
Tail duplication will generate the redundant move before return. It is
because the MachineCopyPropogation can't recognize COPY after post-RA
pseudoExpand.

This patch make MachineCopyPropogation recognize `%0 = ADDI %1, 0` as
COPY
2024-08-28 08:32:54 +08:00

54 KiB