Add support for
- v4s16 <-> v4s32
- v2s64 <-> v2s32
And update tests that use them to show that we generate the correct instructions.
Paths
| Differential D57832
[AArch64][GlobalSel] Add isel support for a couple vector exts/truncs ClosedPublic Authored by paquette on Feb 6 2019, 11:22 AM.
Details Summary Add support for
And update tests that use them to show that we generate the correct instructions.
Diff Detail
Event TimelineHerald added subscribers: Petar.Avramovic, kristof.beyls, javed.absar. · View Herald TranscriptFeb 6 2019, 11:22 AM Comment Actions I think if you're going to have a new separate test, you might as well make it a MIR test for the selector (just use update_mir_test_checks.py) instead of an IR test which already exists in arm64-vcvt_f.ll. paquette marked an inline comment as done. Comment ActionsRebased after removing redundant IR from existing .mir test paquette retitled this revision from [AArch64][GlobalISe] Add isel support for a couple vector exts/truncs to [AArch64][GlobalSel] Add isel support for a couple vector exts/truncs.Feb 11 2019, 10:44 AM This revision is now accepted and ready to land.Feb 11 2019, 10:55 AM Closed by commit rGe57fe23f702f: [AArch64][GlobalISel] Add isel support for a couple vector exts/truncs (authored by paquette). · Explain WhyFeb 11 2019, 10:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 186293 llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-fp-casts.mir
llvm/test/CodeGen/AArch64/arm64-vcvt_f.ll
|