LICM deletes trivially dead instructions which it won't attempt to sink.
Attempt to salvage debug values which reference these instructions.
This is similar to rL325660, which did the same thing in the BDCE pass.
Differential D44356
[LICM] Salvage DebugInfo from dying Instructions gramanas on Mar 10 2018, 2:13 PM. Authored by
Details
Diff Detail
Event TimelineComment Actions Thanks for working on this! The change in LICM looks good, but the tests need a little bit of work.
Comment Actions LGTM. Is it all right if I commit this for you, or would you like to set up an account and commit it yourself? Comment Actions Ah, I think there's still a problem with the test.
Comment Actions This landed as r327800. @gramanas, if you add "Differential Revision: <URL to the review>" to the last line of your commit message, Phabricator will automatically close the review for you when you commit. |
The label to check for should be @test11