xref: /llvm-project/llvm/test/CodeGen/AMDGPU/check-subtarget-features.ll (revision b132dd41eb1a8f6c1b19cedbd95fa3fde9e3ad8b)
1*6eb9e214SJay Foad; RUN: not llc -global-isel=0 -mtriple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,+wavefrontsize64 < %s 2>&1 | FileCheck %s -check-prefix=ERR -implicit-check-not=error:
2*6eb9e214SJay Foad; RUN: not llc -global-isel=1 -mtriple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,+wavefrontsize64 < %s 2>&1 | FileCheck %s -check-prefix=ERR -implicit-check-not=error:
3*6eb9e214SJay Foad
4*6eb9e214SJay Foad; ERR: error: {{.*}} in function f void (): must specify exactly one of wavefrontsize32 and wavefrontsize64
5*6eb9e214SJay Foad
6*6eb9e214SJay Foaddefine void @f() {
7*6eb9e214SJay Foad  ret void
8*6eb9e214SJay Foad}
9