Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 8 additions & 0 deletions llvm/test/CodeGen/PowerPC/spe-vsx-incompatibility.ll
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
; Adding -enable-matrix, which is disabled by default, forces the initialization
; of the PPCSubtarget which verifies the incompatible CPU features.
; RUN: not llc -mtriple=powerpcspe -mattr=+vsx -enable-matrix < %s 2>&1 | FileCheck %s

; CHECK: SPE and traditional floating point cannot both be enabled
define void @test() {
ret void
}
Loading