This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Add `shl nsw %val, %cnt != 0` if `%val != 0`.
ClosedPublic

Authored by goldstein.w.n on Apr 9 2023, 5:14 PM.

Diff Detail

Event Timeline

goldstein.w.n created this revision.Apr 9 2023, 5:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2023, 5:14 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
goldstein.w.n requested review of this revision.Apr 9 2023, 5:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2023, 5:14 PM

ping, this is a pretty simple patch.

nikic accepted this revision.Apr 14 2023, 9:44 AM

LGTM

This revision is now accepted and ready to land.Apr 14 2023, 9:44 AM