[all-commits] [llvm/llvm-project] 907c94: [X86][Clang] Add constexpr support for AVX512 kshi...

Medha Tiwari via All-commits all-commits at lists.llvm.org
Wed Dec 3 10:39:02 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 907c94b3c2cc271a06afe9fe149d954578188c31
      https://github.com/llvm/llvm-project/commit/907c94b3c2cc271a06afe9fe149d954578188c31
  Author: Medha Tiwari <75640645+medhatiwari at users.noreply.github.com>
  Date:   2025-12-03 (Wed, 03 Dec 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsX86.td
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/CodeGen/X86/avx512bw-builtins.c
    M clang/test/CodeGen/X86/avx512dq-builtins.c
    M clang/test/CodeGen/X86/avx512f-builtins.c

  Log Message:
  -----------
  [X86][Clang] Add constexpr support for AVX512 kshift intrinsics (#170480)

Add AVX512 kshiftli/kshiftri mask intrinsics to be used in constexpr.

Enables constexpr evaluation for:
- `_kshiftli_mask8/16/32/64`
- `_kshiftri_mask8/16/32/64`

Fixes #162056



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list