[clang] [PowerPC] Remove SPE from triple in VSX test (PR #147184)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 6 05:24:20 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Guy David (guy-david)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/147184.diff


1 Files Affected:

- (modified) clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c (+1-1) 


``````````diff
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
 

``````````

</details>


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


More information about the cfe-commits mailing list