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