[clang] [Clang] Add __builtin_selectvector and use it for AVX512 intrinsics (PR #91306)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 9 14:04:53 PDT 2024
efriedma-quic wrote:
The relevant bit of code is:
```
// The OpenCL operator with a vector condition is sufficiently
// different to merit its own checker.
if ((getLangOpts().OpenCL && Cond.get()->getType()->isVectorType()) ||
Cond.get()->getType()->isExtVectorType())
return OpenCLCheckVectorConditional(*this, Cond, LHS, RHS, QuestionLoc);
```
Maybe makes sense to relax it.
https://github.com/llvm/llvm-project/pull/91306
More information about the cfe-commits
mailing list