Clamp the max number of elements of s8/s16 vectors when legalizing G_ADD,
G_SUB, G_MUL, G_AND, G_OR, G_XOR, in order to support some wide vectors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D143517
[AArch64][GlobalISel] Legalize wide s8/s16 vectors G_ADD/G_MUL/G_OR/... ClosedPublic Authored by dzhidzhoev on Feb 7 2023, 10:11 AM.
Details Summary Clamp the max number of elements of s8/s16 vectors when legalizing G_ADD,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 7 2023, 10:26 AM Closed by commit rG90c98f8e5516: [AArch64][GlobalISel] Legalize wide s8/s16 vectors G_ADD/G_MUL/G_OR/... (authored by dzhidzhoev). · Explain WhyFeb 7 2023, 12:34 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 495584 llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-add.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-and.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-mul.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-or.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-sub.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-xor.mir
|