Skip to content

[Headers][X86] Update AVX512CD lzcnt intrinsics to use __builtin_elementwise_ctlz and support constexpr #154279

@RKSimon

Description

@RKSimon

Once #154113 / #131995 has landed the AVX512CD lzcnt intrinsics should be updated to use the generic elementwise builtin and test added for constexpr coverage

  • Convert _mm_lzcnt_epi32 etc. (inc mask/maskz variants) to use __builtin_elementwise_ctlz
  • Remove builtin_ia32_vplzcnt builtins
  • Add constexpr test coverage

Metadata

Metadata

Assignees

Labels

backend:X86clang:frontendLanguage frontend issues, e.g. anything involving "Sema"clang:headersHeaders provided by Clang, e.g. for intrinsicsconstexprAnything related to constant evaluationgood first issuehttps://github.com/llvm/llvm-project/contribute

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions