[all-commits] [llvm/llvm-project] 2def1c: [RISCV][MCP] Remove redundant move from tail dupli...
Piyou Chen via All-commits
all-commits at lists.llvm.org
Tue Aug 27 17:33:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2def1c445826be77a11926b89f901c0cd6d571d7
https://github.com/llvm/llvm-project/commit/2def1c445826be77a11926b89f901c0cd6d571d7
Author: Piyou Chen <piyou.chen at sifive.com>
Date: 2024-08-28 (Wed, 28 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/MachineCopyPropagation.cpp
A llvm/test/CodeGen/RISCV/redundant-copy-from-tail-duplicate.ll
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list