[clang] [Headers][X86] Use `__builtin_elementwise_ctlz` instead of avx512cd intrinsics. (PR #155089)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 28 07:55:11 PDT 2025
================
@@ -42,35 +43,41 @@ __m512i test_mm512_maskz_conflict_epi32(__mmask16 __U, __m512i __A) {
}
__m512i test_mm512_lzcnt_epi32(__m512i __A) {
// CHECK-LABEL: test_mm512_lzcnt_epi32
- // CHECK: call <16 x i32> @llvm.ctlz.v16i32(<16 x i32> %{{.*}}, i1 false)
+ // CHECK: call <16 x i32> @llvm.ctlz.v16i32(<16 x i32> %{{.*}}, i1 true)
----------------
moorabbit wrote:
Tried to do that in a new commit. PTAL when you can.
https://github.com/llvm/llvm-project/pull/155089
More information about the cfe-commits
mailing list