HomePhabricator

[RISCV] Optimize vp.load with an all-ones mask

Authored by frasercrmck on Tue, Nov 2, 7:44 AM.

Description

[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

Details

Committed
frasercrmckTue, Nov 2, 10:23 AM
Reviewer
craig.topper
Differential Revision
D113022: [RISCV] Optimize vp.load with an all-ones mask
Parents
rG052a2913f5ce: [InstCombine] add tests for bitwise select of vectors; NFC
Branches
Unknown
Tags
Unknown