brintos

brintos / llvm-project-archived public Read only

0
0
Text · 716 B · ea6e456 Raw
15 lines · plain
1; RUN: llc -mtriple=amdgcn -mcpu=gfx700 -debug-only=gcn-subtarget -o - %s 2>&1 | FileCheck --check-prefix=WARN %s2; RUN: llc -mtriple=amdgcn -mcpu=gfx906 -debug-only=gcn-subtarget -o - %s 2>&1 | FileCheck --check-prefix=ON %s3; RUN: llc -mtriple=amdgcn -mcpu=gfx908 -debug-only=gcn-subtarget -o - %s 2>&1 | FileCheck --check-prefix=ON %s4; RUN: llc -mtriple=amdgcn -mcpu=gfx1250 -debug-only=gcn-subtarget -o - %s 2>&1 | FileCheck --check-prefix=ON %s5 6; REQUIRES: asserts7 8; WARN: warning: sramecc 'On' was requested for a processor that does not support it!9; ON: sramecc setting for subtarget: On10define void @sramecc-subtarget-feature-enabled() #0 {11  ret void12}13 14attributes #0 = { "target-features"="+sramecc" }15