[clang] [Clang] Add __builtin_selectvector and use it for AVX512 intrinsics (PR #91306)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 07:05:08 PDT 2024


================
@@ -1176,6 +1176,12 @@ def ConvertVector : Builtin {
   let Prototype = "void(...)";
 }
 
+def SelectVector : Builtin {
+  let Spellings = ["__builtin_selectvector"];
+  let Attributes = [NoThrow, Const, CustomTypeChecking];
----------------
AaronBallman wrote:

Should this also be constexpr?

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


More information about the cfe-commits mailing list