forked from OSchip/llvm-project
14 lines
573 B
LLVM
14 lines
573 B
LLVM
; 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 }
|