[PATCH] D39986: WIP: [LSR] Expand: Use the replaced value's debug loc (PR25630)
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 13 15:18:15 PST 2017
vsk created this revision.
Fix PR25630 by setting the debug location of code generated in
LSRInstance::Expand() to the location attached to the replaced value.
TODO: I still need a test case for the change in GenerateIVChain.
Depends on https://reviews.llvm.org/D39985
https://reviews.llvm.org/D39986
Files:
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/pr25630.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39986.122738.patch
Type: text/x-patch
Size: 13326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171113/88ade0e6/attachment.bin>
More information about the llvm-commits
mailing list