[all-commits] [llvm/llvm-project] f36ec4: [RISCV] Add test case showing fli being hoisted ou...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Mar 17 12:16:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f36ec414c979466fdd48dcc97d9f037a86704cea
https://github.com/llvm/llvm-project/commit/f36ec414c979466fdd48dcc97d9f037a86704cea
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-03-17 (Fri, 17 Mar 2023)
Changed paths:
A llvm/test/CodeGen/RISCV/fli-licm.ll
Log Message:
-----------
[RISCV] Add test case showing fli being hoisted out of a loop and creating extra copies/spills.
Test case for D146314.
Differential Revision: https://reviews.llvm.org/D146315
Commit: 0a895c39adaf35f3c8d29573eb636b2cccf08d7c
https://github.com/llvm/llvm-project/commit/0a895c39adaf35f3c8d29573eb636b2cccf08d7c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-03-17 (Fri, 17 Mar 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZfa.td
M llvm/test/CodeGen/RISCV/fli-licm.ll
Log Message:
-----------
[RISCV] Add isAsCheapAsAMove to FLI instructions.
This can prevent unnecessarily hoisting out of loops.
Test case cribbed from AArch64.
I also intend to make them rematerializable.
Differential Revision: https://reviews.llvm.org/D146314
Compare: https://github.com/llvm/llvm-project/compare/8ae4f833354d...0a895c39adaf
More information about the All-commits
mailing list