1 ; RUN: llc -mtriple=amdgcn -mcpu=gfx700 -debug-only=amdgpu-subtarget -o - %s 2>&1 | FileCheck --check-prefix=WARN %s
2 ; RUN: llc -mtriple=amdgcn -mcpu=gfx906 -debug-only=amdgpu-subtarget -o - %s 2>&1 | FileCheck --check-prefix=ON %s
3 ; RUN: llc -mtriple=amdgcn -mcpu=gfx908 -debug-only=amdgpu-subtarget -o - %s 2>&1 | FileCheck --check-prefix=ON %s
7 ; WARN: warning: sramecc 'On' was requested for a processor that does not support it!
8 ; ON: sramecc setting for subtarget: On
9 define void @sramecc-subtarget-feature-enabled() #0 {
13 attributes #0 = { "target-features"="+sramecc" }