aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/spe-vsx-incompatibility.ll
blob: 06c8f9a3b4bb685f0ff89cf110b7df4736877abf (plain)
1
2
3
4
5
6
7
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
}