This is an archive of the discontinued LLVM Phabricator instance.

[LFTR] Simplify integer case for genLoopLimit [nfc-ish]
ClosedPublic

Authored by reames on Mar 22 2023, 9:16 AM.

Details

Summary

The integer case in genLoopLimit reduces down to a special case for narrowing the bitwidth of the limit, and then performing the same expansion we would for a pointer IV.

Diff Detail

Event Timeline

reames created this revision.Mar 22 2023, 9:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 9:16 AM
reames requested review of this revision.Mar 22 2023, 9:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 9:16 AM
nikic accepted this revision.Mar 22 2023, 10:44 AM

LGTM

This revision is now accepted and ready to land.Mar 22 2023, 10:44 AM
This revision was landed with ongoing or failed builds.Mar 22 2023, 12:22 PM
This revision was automatically updated to reflect the committed changes.