[PATCH] D29504: Merge DebugLoc on combined stores

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 11:51:02 PST 2017


probinson created this revision.

When combining stores at the ends of two blocks, merge the debug location
instead of arbitrarily picking one.


https://reviews.llvm.org/D29504

Files:
  lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  test/DebugInfo/Generic/store-tail-merge.ll
  test/Transforms/SampleProfile/calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29504.86997.patch
Type: text/x-patch
Size: 5752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170203/4c57d3a7/attachment.bin>


More information about the llvm-commits mailing list