[all-commits] [llvm/llvm-project] a6c3cc: [RISCV] Be more strict about LUI+ADDI macrofusion ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Aug 21 11:44:22 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a6c3ccd476d43305fc91f56c8066f913110ce078
https://github.com/llvm/llvm-project/commit/a6c3ccd476d43305fc91f56c8066f913110ce078
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-08-21 (Sun, 21 Aug 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVMacroFusion.cpp
Log Message:
-----------
[RISCV] Be more strict about LUI+ADDI macrofusion pre-RA.
Don't macrofuse if the LUI has more than 1 user. That will likely
require the LUI to have a different destination register post-RA.
LUI+ADDI can only be fused if they write the same register.
More information about the All-commits
mailing list