[all-commits] [llvm/llvm-project] 0d0bfa: [RISCV] Add test cases for vmerge peephole with vs...
Luke Lau via All-commits
all-commits at lists.llvm.org
Mon Jun 26 01:36:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0d0bfa8a14dc9061cea1699b933e27ba057c340b
https://github.com/llvm/llvm-project/commit/0d0bfa8a14dc9061cea1699b933e27ba057c340b
Author: Luke Lau <luke at igalia.com>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-masked-vops.ll
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
Log Message:
-----------
[RISCV] Add test cases for vmerge peephole with vslides
Currently vslide1{up,down}s can have vmerges folded into them, but not
vslide{up,down}s.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D153630
Commit: 0e9384a6c6ca86e042a1ed75c5f22db7cf14f132
https://github.com/llvm/llvm-project/commit/0e9384a6c6ca86e042a1ed75c5f22db7cf14f132
Author: Luke Lau <luke at igalia.com>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-masked-vops.ll
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
Log Message:
-----------
[RISCV] Teach doPeepholeMaskedRVV to handle vslide{up,down}
We already handle vslide1{up,down}, so this extends it to vslide{up,down}.
This was unintentionally added in https://reviews.llvm.org/D150463 and
then removed in 37cfcfcef76bb615b941d7077ca81168bd7ad080, but unless I'm
missing something this should still be ok as the mask only controls what
destination elements are written to.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D153631
Compare: https://github.com/llvm/llvm-project/compare/d66ed10f8698...0e9384a6c6ca
More information about the All-commits
mailing list