[clang] [Clang] Add builtins for masked vector loads / stores (PR #154464)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 20 08:10:55 PDT 2025
================
@@ -941,6 +941,24 @@ Let ``VT`` be a vector type and ``ET`` the element type of ``VT``.
for the comparison.
======================================= ====================================================================== ==================================
+*Masked Builtins*
+
+Each builtin accesses memory according to a provided boolean mask. These are
+provided as ``__builtin_masked_load`` and ``__builtin_masked_store``. The first
----------------
jhuber6 wrote:
I just commented above, I'm leaning against it because none of the other vector builtins put `vector` in their name and it maps more clearly to the LLVM intrinsic of the same name.
https://github.com/llvm/llvm-project/pull/154464
More information about the cfe-commits
mailing list