diff options
author | Vedant Kumar <vsk@apple.com> | 2018-02-16 01:15:20 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-02-16 01:15:20 +0000 |
commit | 616fdb00dfe09c889980ef6d42b98ee67b2694c4 (patch) | |
tree | b68215e5ca4062711324f77b28834eb62dda6704 /llvm/lib/Support/APInt.cpp | |
parent | 65b620be8a63c8dee5225562a43c6dfc827394a7 (diff) | |
download | llvm-616fdb00dfe09c889980ef6d42b98ee67b2694c4.zip llvm-616fdb00dfe09c889980ef6d42b98ee67b2694c4.tar.gz llvm-616fdb00dfe09c889980ef6d42b98ee67b2694c4.tar.bz2 |
[GVN] Partially revert debug info salvage change (r325063)
In r325063, we salvaged debug values from dying instructions in
GVN::processBlock() and GVN::performScalarPRE().
The change in performScalarPRE(), while correct, is unhelpful. It
introduced a call to salvageDebugInfo() which was immediately followed
by a RAUW, meaning it prevented the RAUW from efficiently updating
dbg.value intrinsics. This commit reverts the mistake and tightens up
the affected test case.
llvm-svn: 325308
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions