This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Narrow G_SEXT_INREG to s64 before lowering.
ClosedPublic

Authored by craig.topper on Aug 4 2023, 8:50 PM.

Details

Summary

This avoids narrowing after it has been expanded to shifts. The
G_SEXT_INREG narrowing can use the second operand of the instruction to
optimize the narrowing.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 4 2023, 8:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 8:50 PM
craig.topper requested review of this revision.Aug 4 2023, 8:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 8:50 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm accepted this revision.Aug 7 2023, 2:18 PM
This revision is now accepted and ready to land.Aug 7 2023, 2:18 PM
This revision was landed with ongoing or failed builds.Aug 7 2023, 2:40 PM
This revision was automatically updated to reflect the committed changes.