[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

NagaChaitanya Vellanki via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 1 08:56:26 PDT 2025


================
@@ -2,14 +2,17 @@
 // RUN: %clang_cc1 -x c -flax-vector-conversions=none -ffreestanding %s -triple=i386-apple-darwin -target-feature +avx512ifma -emit-llvm -o - -Wall -Werror | FileCheck %s
 // RUN: %clang_cc1 -x c++ -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +avx512ifma -emit-llvm -o - -Wall -Werror | FileCheck %s
 // RUN: %clang_cc1 -x c++ -flax-vector-conversions=none -ffreestanding %s -triple=i386-apple-darwin -target-feature +avx512ifma -emit-llvm -o - -Wall -Werror | FileCheck %s
+// RUN: %clang_cc1 -x c++ -std=c++2a -fsyntax-only %s -triple=x86_64-unknown-unknown -target-feature +avx512ifma -ffreestanding -verify
+// RUN: %clang_cc1 -x c++ -std=c++2a -fsyntax-only %s -triple=x86_64-unknown-unknown -target-feature +avx512ifma -ffreestanding -fexperimental-new-constant-interpreter -verify
----------------
chaitanyav wrote:

changed the std to c++14

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


More information about the cfe-commits mailing list