https://github.com/guy-david created https://github.com/llvm/llvm-project/pull/147184
This test does not fail because the PPCSubtarget was not initialized, and otherwise a fatal error occurs: "SPE and traditional floating point cannot both be enabled.". Tested by adding `-mllvm -enable-matrix` to the existing command-line. >From 71178898f20c70158bf001da622a74a10354673c Mon Sep 17 00:00:00 2001 From: Guy David <guyd...@gmail.com> Date: Sun, 6 Jul 2025 15:22:38 +0300 Subject: [PATCH] [PowerPC] Remove SPE from triple in VSX test This test does not fail because the PPCSubtarget was not initialized, and otherwise a fatal error occurs: "SPE and traditional floating point cannot both be enabled.". Tested by adding `-mllvm -enable-matrix` to the existing command-line. --- clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c b/clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c index 838db02415fe5..b46fa9f2cf157 100644 --- a/clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c +++ b/clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c @@ -11,7 +11,7 @@ // RUN: -S -ffp-exception-behavior=strict \ // RUN: -o - %s | FileCheck --check-prefix=CHECK-ASM \ // RUN: --check-prefix=FIXME-CHECK %s -// RUN: %clang_cc1 -triple powerpcspe -ffp-exception-behavior=strict \ +// RUN: %clang_cc1 -triple powerpc -ffp-exception-behavior=strict \ // RUN: -target-feature +vsx -fexperimental-strict-floating-point -emit-llvm \ // RUN: %s -o - | FileCheck --check-prefix=CHECK-CONSTRAINED %s _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits