Fix PR25630 by setting the debug location of code generated in
LSRInstance::Expand() to the location attached to the replaced value.
Depends on D39985
Paths
| Differential D39986
[LSR] Expand: Use the replaced value's debug loc (PR25630) AcceptedPublic Authored by vsk on Nov 13 2017, 3:17 PM.
Details
Diff Detail Event TimelineComment Actions LGTM. Nitpicks below.
This revision is now accepted and ready to land.Nov 13 2017, 4:39 PM aprantl added inline comments.
vsk marked 3 inline comments as done. vsk retitled this revision from WIP: [LSR] Expand: Use the replaced value's debug loc (PR25630) to [LSR] Expand: Use the replaced value's debug loc (PR25630). Comment Actions
Revision Contents
Diff 122770 lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/expand-with-debug-loc.ll
|
What besides an instruction could this be? An Argument?