[all-commits] [llvm/llvm-project] 792101: [RISCV] Add test cases for missed opportunity to u...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Sep 20 12:05:11 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 792101fff749191dfd4dadabe2ecd30a4d8cd973
https://github.com/llvm/llvm-project/commit/792101fff749191dfd4dadabe2ecd30a4d8cd973
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-09-20 (Mon, 20 Sep 2021)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
Log Message:
-----------
[RISCV] Add test cases for missed opportunity to use vfmacc.vf. NFC
This is another case of a splat being in another basic block
preventing SelectionDAG from optimizing it.
Commit: a95ba8107359e17cb1669c01f416fd2723a23126
https://github.com/llvm/llvm-project/commit/a95ba8107359e17cb1669c01f416fd2723a23126
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-09-20 (Mon, 20 Sep 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
Log Message:
-----------
[RISCV] Teach RISCVTargetLowering::shouldSinkOperands to sink splats for FMA.
If either of the multiplicands is a splat, we can sink it to use
vfmacc.vf or similar.
Compare: https://github.com/llvm/llvm-project/compare/d5db71d19f11...a95ba8107359
More information about the All-commits
mailing list