diff options
author | Robert Lougher <rob.lougher@gmail.com> | 2017-01-04 17:40:32 +0000 |
---|---|---|
committer | Robert Lougher <rob.lougher@gmail.com> | 2017-01-04 17:40:32 +0000 |
commit | 5bf0416f459cb957fa6098f4ec148e8ae26c2704 (patch) | |
tree | 67aa5953f37458133a6a4090c23fe55038ed9f9f /libcxx/test/std/containers/sequences/array/array.data/data_const.pass.cpp | |
parent | b744ce87fc48cb60d6c79f00bf8c2959579a2f2f (diff) | |
download | bcm5719-llvm-5bf0416f459cb957fa6098f4ec148e8ae26c2704.tar.gz bcm5719-llvm-5bf0416f459cb957fa6098f4ec148e8ae26c2704.zip |
Reapply "[SimplifyCFG] In sinkLastInstruction correctly set debugloc of common inst"
This reapplies r289828 (reverted in r289833 as it broke the address sanitizer). The
debugloc is now only set when the instruction is not a call, as this causes the
verifier to assert (the inliner requires an inlinable callsite to have a debug loc
if the caller and callee have debug info).
Original commit message:
Simplify CFG will try to sink the last instruction in a series of basic blocks,
creating a "common" instruction in the successor block (sinkLastInstruction).
When it does this, the debug location of the single instruction should be the
merged debug locations of the commoned instructions.
Original review: https://reviews.llvm.org/D27590
llvm-svn: 290973
Diffstat (limited to 'libcxx/test/std/containers/sequences/array/array.data/data_const.pass.cpp')
0 files changed, 0 insertions, 0 deletions