[all-commits] [llvm/llvm-project] d065b0: [RISCV] Optimize vp.load with an all-ones mask
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Tue Nov 2 10:32:29 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d065b03801d93551dcb4cbc6d74e804775c7ed03
https://github.com/llvm/llvm-project/commit/d065b03801d93551dcb4cbc6d74e804775c7ed03
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2021-11-02 (Tue, 02 Nov 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpload.ll
M llvm/test/CodeGen/RISCV/rvv/vpload.ll
Log Message:
-----------
[RISCV] Optimize vp.load with an all-ones mask
Similar to D110206, this patch optimizes unmasked vp.load intrinsics to
avoid the need of a vmset instruction to set the mask. It does so by
selecting a riscv_vle intrinsic rather than a riscv_vle_mask intrinsic.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D113022
More information about the All-commits
mailing list