This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Fold x & (-1 >> y) != x to x u> (-1 >> y)
ClosedPublic

Authored by lebedev.ri on Jul 11 2018, 2:38 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

spatel accepted this revision.Jul 12 2018, 6:38 AM

LGTM - unless you have questions/concerns, I think it's fine if you want to continue enhancing this fold without pre-commit review. You've already done the hard part of writing the proofs and regression tests. :)

This revision is now accepted and ready to land.Jul 12 2018, 6:38 AM

LGTM

Thank you for the review.

  • unless you have questions/concerns, I think it's fine if you want to continue enhancing this fold without pre-commit review. You've already done the hard part of writing the proofs and regression tests. :)

The other 4(?) patterns here will be non-commutative, so i'm not sure how those will go yet..

This revision was automatically updated to reflect the committed changes.