brintos

brintos / llvm-project-archived public Read only

0
0
Text · 610 B · 65b289b 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=OFF %s3; RUN: llc -mtriple=amdgcn -mcpu=gfx908 -debug-only=gcn-subtarget -o - %s 2>&1 | FileCheck --check-prefix=OFF %s4 5; REQUIRES: asserts6 7; WARN: warning: sramecc 'Off' was requested for a processor that does not support it!8; OFF: sramecc setting for subtarget: Off9 10define void @sramecc-subtarget-feature-disabled() #0 {11  ret void12}13 14attributes #0 = { "target-features"="-sramecc" }15