This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Add transforms `(icmp spred (and X, Y), X)` if `X` or `Y` are known signed/unsigned
AbandonedPublic

Authored by goldstein.w.n on Mar 6 2023, 2:17 PM.

Details

Summary

Several transforms:

  1. If known Y < 0:
  2. If known Y > 0:
  3. If known X < 0:

Diff Detail

Event Timeline

goldstein.w.n created this revision.Mar 6 2023, 2:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 2:17 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
goldstein.w.n requested review of this revision.Mar 6 2023, 2:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 2:17 PM
Matt added a subscriber: Matt.Mar 7 2023, 7:08 PM
goldstein.w.n abandoned this revision.Sep 19 2023, 9:10 AM

Abandoning and resubmitting on GH