[clang] [Clang] Add __builtin_selectvector and use it for AVX512 intrinsics (PR #91306)
Nikolas Klauser via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 9 13:57:20 PDT 2024
philnik777 wrote:
> You mean, if all three operands are boolean vectors? I'm surprised that doesn't already work.
No, I mean I have a vector of bools and want to select a value based on that. e.g. `declval<simd_vector<bool, 16>>() ? declval<simd_vector<int, 16>>() : declval<simd_vector<int, 16>>()`.
https://github.com/llvm/llvm-project/pull/91306
More information about the cfe-commits
mailing list