EarlyCSE didn't try to salvage debug info during erasing of instructions. This fixes that.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I think the test case could probably be reduced a bit (is 'ctpop' necessary?), but apart from that, this looks good. @aprantl wdyt?
test/Transforms/EarlyCSE/debuginfo-dce.ll | ||
---|---|---|
2–8 | I'm under the impression this test case can be simplified. Can you give it a try? |
unneeded.