This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][GISel] Make G_SEXT_INREG with source size of 32 legal for RV64.
ClosedPublic

Authored by craig.topper on Aug 19 2023, 2:37 PM.

Details

Summary

This maps to the sext.w instruction.

As far as I could tell this needs custom lowering to check the immediate.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 19 2023, 2:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2023, 2:37 PM
craig.topper requested review of this revision.Aug 19 2023, 2:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2023, 2:37 PM
This revision is now accepted and ready to land.Aug 21 2023, 10:01 AM
This revision was landed with ongoing or failed builds.Aug 21 2023, 10:43 AM
This revision was automatically updated to reflect the committed changes.