summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-03-27 23:26:59 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-03-27 23:26:59 +0000
commitbd49eccca1d731b6b7e421d69611090cd7ad8a2b (patch)
tree9e54b5ed159d1298e8b54f7b230da04e316f1222 /llvm/test
parent07480bd17760c76fa6d51c4dfc3337247beda6de (diff)
downloadbcm5719-llvm-bd49eccca1d731b6b7e421d69611090cd7ad8a2b.tar.gz
bcm5719-llvm-bd49eccca1d731b6b7e421d69611090cd7ad8a2b.zip
AMDGPU: Really implement getFrameRegister
Currently this seems to only really be used for debug info. llvm-svn: 328677
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/DebugInfo/AMDGPU/variable-locations.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/AMDGPU/variable-locations.ll b/llvm/test/DebugInfo/AMDGPU/variable-locations.ll
index 692769b7bfe..66885f21cec 100644
--- a/llvm/test/DebugInfo/AMDGPU/variable-locations.ll
+++ b/llvm/test/DebugInfo/AMDGPU/variable-locations.ll
@@ -31,6 +31,9 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata)
; CHECK-NEXT: DW_AT_location [DW_FORM_block1] (DW_OP_addr 0x0)
@GlobB = common addrspace(1) global i32 0, align 4, !dbg !6
+; CHECK: {{.*}}DW_TAG_subprogram
+; CHECK: DW_AT_frame_base [DW_FORM_block1] (DW_OP_reg9 SGPR9)
+
define amdgpu_kernel void @kernel1(
; CHECK: {{.*}}DW_TAG_formal_parameter
; CHECK-NEXT: DW_AT_location [DW_FORM_block1] (DW_OP_fbreg +4, DW_OP_constu 0x1, DW_OP_swap, DW_OP_xderef)
OpenPOWER on IntegriCloud