In spir functions, llvm.dbg.declare intrinsics created
authorZahira Ammarguellat <zahira.ammarguellat@intel.com>
Mon, 1 Nov 2021 21:08:08 +0000 (14:08 -0700)
committerZahira Ammarguellat <zahira.ammarguellat@intel.com>
Fri, 5 Nov 2021 22:08:09 +0000 (15:08 -0700)
commit627868263cd4d57c230b61904483a3dad9e1a1da
tree1007f38a0d3e2c4237e359f6db49dcfc944ee7a5
parent04fa7cbf559ccb18cceb99594bfa05d3b26a9ee9
In spir functions, llvm.dbg.declare intrinsics created
for parameters and locals need to refer to the stack
allocation in the alloca address space.
clang/lib/CodeGen/CGDecl.cpp
clang/test/CodeGenSYCL/debug-info-kernel-variables.cpp [new file with mode: 0644]