Introduce a new function which handles instructions with multiple type
indices, but have the same number of vector elements.
Also legalize v2s16 shifts when applicable.
Paths
| Differential D57478
GlobalISel: Implement fewerElementsVector for shifts ClosedPublic Authored by arsenm on Jan 30 2019, 2:48 PM.
Details Summary Introduce a new function which handles instructions with multiple type Also legalize v2s16 shifts when applicable.
Diff Detail Event TimelineHerald added subscribers: Petar.Avramovic, tschuett, kristof.beyls and 4 others. · View Herald TranscriptJan 30 2019, 2:48 PM
Comment Actions Thanks, it looks better now.
This revision is now accepted and ready to land.Feb 6 2019, 3:20 PM
Revision Contents
Diff 185338 include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
|
type type