[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX512 VPSHUFBITQMB intrinsics to be used in constexpr (PR #168100)

NagaChaitanya Vellanki via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 18 21:03:53 PST 2025


chaitanyav wrote:

@RKSimon  tested this on my machine. Did fuzz test comparing compile time vs runtime results. Attached the markdown file with results.

```bash
model name      : AMD Ryzen 9 9950X3D 16-Core Processor
stepping        : 0
microcode       : 0xffffffff
cpu MHz         : 4291.861
cache size      : 1024 KB
physical id     : 0
siblings        : 32
core id         : 15
cpu cores       : 16
apicid          : 31
initial apicid  : 31
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 clzero xsaveerptr arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm avx512_vp2intersect
bugs            : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
```
[PR_RESULTS.md](https://github.com/user-attachments/files/23619234/PR_RESULTS.md)


https://github.com/llvm/llvm-project/pull/168100


More information about the cfe-commits mailing list