This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Add tests for additional `isKnownNonZero` cases; NFC
ClosedPublic

Authored by goldstein.w.n on Jan 28 2023, 8:57 PM.

Details

Summary

Add cases for the following ops:

  • 0-X
  • bitreverse(X)
  • bswap(X)
  • ctpop(X)
  • abs(X)
  • uadd_sat(X, Y)

Diff Detail

Event Timeline

goldstein.w.n created this revision.Jan 28 2023, 8:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 28 2023, 8:57 PM
goldstein.w.n requested review of this revision.Jan 28 2023, 8:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 28 2023, 8:57 PM
nikic accepted this revision.Jan 29 2023, 12:40 AM

LGTM apart from the minor note in the other review.

This revision is now accepted and ready to land.Jan 29 2023, 12:40 AM
This revision was landed with ongoing or failed builds.Feb 18 2023, 11:45 AM
This revision was automatically updated to reflect the committed changes.