[PATCH] D38088: Fix out-of-order stepping behavior in programs with hoisted constants.

Matthew Voss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 18:00:18 PST 2017


ormris updated this revision to Diff 122193.
ormris added a comment.

Updated the pass to use the merge API. This version merges the locations of all uses
of the hoisted constant, as well as the location of the instruction at the insertion
point.


https://reviews.llvm.org/D38088

Files:
  lib/Transforms/Scalar/ConstantHoisting.cpp
  test/Transforms/ConstantHoisting/X86/dbg-dominatingblock.ll
  test/Transforms/ConstantHoisting/X86/dbg-samebasicblock.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38088.122193.patch
Type: text/x-patch
Size: 5791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171109/3a878ea3/attachment.bin>


More information about the llvm-commits mailing list