[PATCH] D152691: [LICM] Sunk instructions with invalid source location.

Carlos Alberto Enciso via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 02:41:15 PDT 2023


CarlosAlbertoEnciso created this revision.
CarlosAlbertoEnciso added reviewers: jryans, dblaikie, probinson, Orlando.
CarlosAlbertoEnciso added projects: debug-info, All.
Herald added subscribers: asbirlea, hiraditya.
CarlosAlbertoEnciso requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Building the given test case with 'clang -O2 -g' the call to
`getInOrder` is sunk out of the loop by LICM, but the source
location is not dropped.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152691

Files:
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/test/Transforms/LICM/sink-instruction-invalid-location.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152691.530438.patch
Type: text/x-patch
Size: 5672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230612/5096b2b0/attachment.bin>


More information about the llvm-commits mailing list