2016-10-27 00:37:56 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx700 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI700 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx701 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI701 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx702 | FileCheck --check-prefix=HSA --check-prefix=HSA-CI702 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kaveri | FileCheck --check-prefix=HSA --check-prefix=HSA-CI700 %s
|
2017-01-25 06:02:15 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=carrizo -mattr=-flat-for-global | FileCheck --check-prefix=HSA --check-prefix=HSA-VI801 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=tonga -mattr=-flat-for-global | FileCheck --check-prefix=HSA --check-prefix=HSA-VI802 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=fiji -mattr=-flat-for-global | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
2016-10-12 00:00:47 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=polaris10 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=polaris11 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
2016-10-27 00:37:56 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx800 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI800 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx801 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI801 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx802 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI802 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx803 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI803 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx804 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI804 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx810 | FileCheck --check-prefix=HSA --check-prefix=HSA-VI810 %s
|
2017-02-19 02:29:53 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx900 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX900 %s
|
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=gfx901 | FileCheck --check-prefix=HSA --check-prefix=HSA-GFX901 %s
|
2016-01-13 01:18:17 +08:00
|
|
|
|
2016-07-13 22:23:33 +08:00
|
|
|
; HSA: .hsa_code_object_version 2,1
|
2016-10-27 00:37:56 +08:00
|
|
|
; HSA-CI700: .hsa_code_object_isa 7,0,0,"AMD","AMDGPU"
|
|
|
|
; HSA-CI701: .hsa_code_object_isa 7,0,1,"AMD","AMDGPU"
|
|
|
|
; HSA-CI702: .hsa_code_object_isa 7,0,2,"AMD","AMDGPU"
|
|
|
|
; HSA-VI800: .hsa_code_object_isa 8,0,0,"AMD","AMDGPU"
|
2016-10-12 00:00:47 +08:00
|
|
|
; HSA-VI801: .hsa_code_object_isa 8,0,1,"AMD","AMDGPU"
|
|
|
|
; HSA-VI802: .hsa_code_object_isa 8,0,2,"AMD","AMDGPU"
|
|
|
|
; HSA-VI803: .hsa_code_object_isa 8,0,3,"AMD","AMDGPU"
|
2016-10-27 00:37:56 +08:00
|
|
|
; HSA-VI804: .hsa_code_object_isa 8,0,4,"AMD","AMDGPU"
|
|
|
|
; HSA-VI810: .hsa_code_object_isa 8,1,0,"AMD","AMDGPU"
|
2017-02-19 02:29:53 +08:00
|
|
|
; HSA-GFX900: .hsa_code_object_isa 9,0,0,"AMD","AMDGPU"
|
|
|
|
; HSA-GFX901: .hsa_code_object_isa 9,0,1,"AMD","AMDGPU"
|