[clang] [clang][bytecode] Implement ia32_select* builtins (PR #154758)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 24 21:27:38 PDT 2025
================
@@ -2778,6 +2778,40 @@ static bool interp__builtin_elementwise_fma(InterpState &S, CodePtr OpPC,
return true;
}
+/// AVX512 predicated move: "Result = Mask[] ? LHS[] : RHS[]".
+static bool interp__builtin_select(InterpState &S, CodePtr OpPC,
+ const CallExpr *Call) {
+ const Pointer &RHS = S.Stk.pop<Pointer>();
----------------
shafik wrote:
`assert(Call->getNumArgs() == 1);`?
https://github.com/llvm/llvm-project/pull/154758
More information about the cfe-commits
mailing list