2016-01-13 01:18:17 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kaveri | FileCheck --check-prefix=HSA --check-prefix=HSA-CI %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=carrizo | FileCheck --check-prefix=HSA --check-prefix=HSA-VI %s
|
2016-01-14 04:39:25 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=fiji | FileCheck --check-prefix=HSA --check-prefix=HSA-FIJI %s
|
2016-01-13 01:18:17 +08:00
|
|
|
|
|
|
|
; HSA: .hsa_code_object_version 1,0
|
|
|
|
; HSA-CI: .hsa_code_object_isa 7,0,0,"AMD","AMDGPU"
|
|
|
|
; HSA-VI: .hsa_code_object_isa 8,0,1,"AMD","AMDGPU"
|
2016-01-14 04:39:25 +08:00
|
|
|
; HSA-FIJI: .hsa_code_object_isa 8,0,3,"AMD","AMDGPU"
|