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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D157172
[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
Diff Detail
Event TimelineThis 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 Closed by commit rG07c8bcc21df6: [AArch64] Narrow G_SEXT_INREG to s64 before lowering. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 547954 llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-saddsat.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-ssubsat.mir
|