[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
Wed Sep 28 08:06:07 PDT 2022


jmmartinez updated this revision to Diff 463569.
jmmartinez added a comment.

- Added test cases and a fix:
  - Test: with ptrmsk
  - Test: with is.shared and assume
  - Fix: Use the debug_loc from the insert-point when creating a new addrspacecast


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.463569.patch
Type: text/x-patch
Size: 11345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220928/8c061a67/attachment.bin>


More information about the llvm-commits mailing list