summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AMDGPU/sramecc-subtarget-feature-any.ll
blob: d0fe964a679887aeaf7130d0ef358cb8f771de58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc -march=amdgcn -mcpu=gfx700 -debug-only=amdgpu-subtarget -o - %s 2>&1 | FileCheck --check-prefix=NOT-SUPPORTED %s
; RUN: llc -march=amdgcn -mcpu=gfx906 -debug-only=amdgpu-subtarget -o - %s 2>&1 | FileCheck --check-prefix=ANY %s
; RUN: llc -march=amdgcn -mcpu=gfx908 -debug-only=amdgpu-subtarget -o - %s 2>&1 | FileCheck --check-prefix=ANY %s

; REQUIRES: asserts

; NOT-SUPPORTED: sramecc setting for subtarget: Unsupported
; ANY: sramecc setting for subtarget: Any
define void @sramecc-subtarget-feature-default() #0 {
  ret void
}

attributes #0 = { nounwind }