Going through our legalization rules and doing some cleanup.
Widening and then clamping is usually easier than clamping and then widening.
This allows us to legalize some weird types like s88.
Paths
| Differential D107413
[AArch64][GlobalISel] Widen G_FPTO*I before clamping ClosedPublic Authored by paquette on Aug 3 2021, 5:21 PM.
Details Summary Going through our legalization rules and doing some cleanup. Widening and then clamping is usually easier than clamping and then widening. This allows us to legalize some weird types like s88.
Diff Detail
Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka. · View Herald TranscriptAug 3 2021, 5:21 PM This revision is now accepted and ready to land.Aug 3 2021, 10:37 PM Closed by commit rG7d97de60b3ec: [AArch64][GlobalISel] Widen G_FPTO*I before clamping (authored by paquette). · Explain WhyAug 4 2021, 10:19 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 364176 llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-fptoi.mir
|