[llvm] [VP][RISCV] Add a vp.load.ff intrinsic for fault only first load. (PR #128593)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 07:11:59 PDT 2025


https://github.com/fhahn commented:

Ok, then maybe the wording of the `Semantics` section should be updated, as it says currently

>  Some
targets have a fault-only-first load instruction that this intrinsic can be
 lowered to. Other targets may support this intrinsic differently, for example by
lowering to a single scalar load guarded by ``evl!=0`` and ``mask[0]==1`` and
indicating only 1 lane could be read.

This seems to suggest that there is a generic lowering, but I don't see how it would work.

https://github.com/llvm/llvm-project/pull/128593


More information about the llvm-commits mailing list