Widen narrow fp arithmetic ops (e.g. G_FADD). When we don't have full FP16 support, widen to s32. Otherwise widen to s16.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D108660
[AArch64][GlobalISel] Legalize narrow scalar FP arithmetic ClosedPublic Authored by paquette on Aug 24 2021, 1:28 PM.
Details Summary Widen narrow fp arithmetic ops (e.g. G_FADD). When we don't have full FP16 support, widen to s32. Otherwise widen to s16.
Diff Detail
Event TimelineHerald added subscribers: hiraditya, kristof.beyls, rovka. · View Herald TranscriptAug 24 2021, 1:28 PM This revision is now accepted and ready to land.Aug 24 2021, 1:47 PM This revision was landed with ongoing or failed builds.Aug 24 2021, 1:54 PM Closed by commit rGef8707574bbc: [AArch64][GlobalISel] Legalize narrow scalar FP arithmetic (authored by paquette). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 368458 llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-fp-arith-fp16.mir
|