llvm/test/CodeGen/PowerPC/spe-vsx-incompatibility.ll
raw| 1 | ; Adding -enable-matrix, which is disabled by default, forces the initialization |
| 2 | ; of the PPCSubtarget which verifies the incompatible CPU features. |
| 3 | ; RUN: not llc -mtriple=powerpcspe -mattr=+vsx -enable-matrix < %s 2>&1 | FileCheck %s |
| 4 | |
| 5 | ; CHECK: SPE and traditional floating point cannot both be enabled |
| 6 | define void @test() { |
| 7 | ret void |
| 8 | } |