This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][GISel] Narrow G_SEXT_INREG to XLenLLT before lowering.
ClosedPublic

Authored by craig.topper on Aug 10 2023, 10:41 PM.

Details

Summary

If we lower, we need to legalize the wide shifts which
is costly.

This will improve the tests from https://reviews.llvm.org/D157415 too

Diff Detail

Event Timeline

craig.topper created this revision.Aug 10 2023, 10:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2023, 10:41 PM
craig.topper requested review of this revision.Aug 10 2023, 10:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2023, 10:42 PM
craig.topper edited the summary of this revision. (Show Details)Aug 10 2023, 10:42 PM
arsenm accepted this revision.Aug 14 2023, 2:25 PM
This revision is now accepted and ready to land.Aug 14 2023, 2:25 PM