[all-commits] [llvm/llvm-project] 875694: [RISCV] Peephole optimization to fold merge.vvm an...
Yeting Kuo via All-commits
all-commits at lists.llvm.org
Thu Aug 11 02:58:27 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 875694089d1f54fff41f05158733d51261b7e64c
https://github.com/llvm/llvm-project/commit/875694089d1f54fff41f05158733d51261b7e64c
Author: Yeting Kuo <yeting.kuo at sifive.com>
Date: 2022-08-11 (Thu, 11 Aug 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-peephole-vmerge-vops.ll
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
Log Message:
-----------
[RISCV] Peephole optimization to fold merge.vvm and unmasked intrinsics.
The patch uses peephole method to fold merge.vvm and unmasked intrinsics to
masked intrinsics. Using peephole intead of tablegen patterns is to avoid large
auto gnerated code.
Note: The patch ignores segment loads since I don't know how to test them.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D130442
More information about the All-commits
mailing list