[llvm] [LangRef][VP] Clarify 'ff' mnemonic in vp.load.ff: 'first-fault' (PR #160649)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 22:55:44 PDT 2025


https://github.com/arcbbb created https://github.com/llvm/llvm-project/pull/160649

The LangRef for llvm.vp.load.ff.* stated that 'ff' stands for 'fault-first or fault-only-first.' This patch corrects this to 'first-fault or fault-only-first.' to match established terminology.

- ARM SVE uses "first-fault" [1]
- RISC-V V uses "fault-only-first" [2]

[1] https://arxiv.org/abs/1803.06185
[2] https://github.com/riscvarchive/riscv-v-spec/blob/master/v-spec.adoc

>From 0bf6d5228ce59ab935301b049edeb9359249a97a Mon Sep 17 00:00:00 2001
From: ShihPo Hung <shihpo.hung at sifive.com>
Date: Wed, 24 Sep 2025 22:42:46 -0700
Subject: [PATCH] [LangRef][VP] Clarify 'ff' mnemonic in vp.load.ff:
 'first-fault'

The LangRef for llvm.vp.load.ff.* stated that 'ff' stands for
'fault-first or fault-only-first.' This patch corrects this to
'first-fault or fault-only-first.' to match established terminology.

- ARM SVE uses "first-fault" [1]
- RISC-V RVV uses "fault-only-first" [2]

[1] https://arxiv.org/abs/1803.06185
[2] https://github.com/riscvarchive/riscv-v-spec/blob/master/v-spec.adoc
---
 llvm/docs/LangRef.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index e6713c827d6ab..bd47606762bf1 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -24468,7 +24468,7 @@ Overview:
 
 The '``llvm.vp.load.ff.*``' intrinsic is similar to
 '``llvm.vp.load.*``', but will not trap if there are not ``evl`` readable
-lanes at the pointer. '``ff``' stands for fault-first or fault-only-first.
+lanes at the pointer. '``ff``' stands for first-fault or fault-only-first.
 
 Arguments:
 """"""""""



More information about the llvm-commits mailing list