This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Add tests for deducing `X * Y != 0` if `LSB(X) * LSB(Y) != 0`; NFC
ClosedPublic

Authored by goldstein.w.n on May 11 2023, 10:04 PM.

Diff Detail

Event Timeline

goldstein.w.n created this revision.May 11 2023, 10:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2023, 10:04 PM
goldstein.w.n requested review of this revision.May 11 2023, 10:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2023, 10:04 PM
holland11 added inline comments.May 12 2023, 12:26 PM
llvm/test/Analysis/ValueTracking/known-non-zero.ll
1109

Did you mean to have this be

  %yy = or i8 %y, 8
`

(replaced the x with y)?

1124

Same as above.

goldstein.w.n marked 2 inline comments as done.May 12 2023, 3:07 PM

Use proper variables

nikic accepted this revision.May 16 2023, 1:14 AM

LGTM

This revision is now accepted and ready to land.May 16 2023, 1:14 AM