This is an archive of the discontinued LLVM Phabricator instance.

[EarlyCSE] Add debug counter for debugging mis-optimizations. NFC.
ClosedPublic

Authored by gberry on Apr 2 2018, 7:09 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

gberry created this revision.Apr 2 2018, 7:09 AM
davide requested changes to this revision.Apr 2 2018, 7:54 AM

Can you add a test?

This revision now requires changes to proceed.Apr 2 2018, 7:54 AM
gberry updated this revision to Diff 140637.Apr 2 2018, 9:31 AM

Add test

This revision was not accepted when it landed; it landed in state Needs Review.Apr 6 2018, 11:50 AM
This revision was automatically updated to reflect the committed changes.

This appears to have landed without review. What's going on here?

Stylistically, I see a few problems with this patch. It appears to mix early continues and if/else without any clear pattern.

However, I'm mostly concerned this appears to have gone in without review (at least as evidenced on phabricator.)

ping! response needed.

davide added a comment.Aug 9 2018, 5:46 PM

I never managed to review this one, but I saw it was committed anyway. I agree the style is inconsistent, though the patch logic is fine.