[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:08 PDT 2025
================
@@ -1232,6 +1232,18 @@ def ConvertVector : Builtin {
let Prototype = "void(...)";
}
+def MaskedLoad : Builtin {
+ let Spellings = ["__builtin_masked_load"];
----------------
jhuber6 wrote:
On second thought, I decided to leave it because it both matches the LLVM intrinsic of the same name and because none of the other vector based builtins use 'vector' in the name (like __builtin_reduce_add) and it would stand out..
https://github.com/llvm/llvm-project/pull/154464
More information about the cfe-commits
mailing list