[PATCH] D134428: [DebugInfo][InferAddressSpaces] Propagate DebugLoc when cloning an instruction in InferAddressSpaces

Juan Manuel Martinez CaamaƱo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 27 05:12:16 PDT 2022


jmmartinez updated this revision to Diff 463196.
jmmartinez added a comment.
Herald added subscribers: kosarev, mattd, gchakrabarti, asavonic, kerbowa, jvesely, jholewinski.

- Add test for InferAddressSpaces DILocation propagation
- Fix NVPTX test: the debug_loc is maintained for instructions issued from the gep inst


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134428/new/

https://reviews.llvm.org/D134428

Files:
  llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
  llvm/test/DebugInfo/NVPTX/debug-info.ll
  llvm/test/Transforms/InferAddressSpaces/AMDGPU/debug-info.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134428.463196.patch
Type: text/x-patch
Size: 7784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220927/145efc66/attachment.bin>


More information about the llvm-commits mailing list