When combining stores at the ends of two blocks, merge the debug location
instead of arbitrarily picking one.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D29504
Merge DebugLoc on combined stores ClosedPublic Authored by probinson on Feb 3 2017, 11:51 AM.
Details Summary When combining stores at the ends of two blocks, merge the debug location
Diff Detail Event Timelineandreadb added inline comments. This revision is now accepted and ready to land.Feb 6 2017, 9:42 AM Closed by commit rL294251: Merge DebugLoc on combined stores; in this case, when combining stores (authored by probinson). · Explain WhyFeb 6 2017, 2:30 PM This revision was automatically updated to reflect the committed changes. probinson marked an inline comment as done.
Revision Contents
Diff 86997 lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
test/DebugInfo/Generic/store-tail-merge.ll
test/Transforms/SampleProfile/calls.ll
|
This test only requires -gline-tables-only. You don't need any @llvm.dbg.value calls and/or extra metadata for debug info types and variables.