If the target result type matches the original source, don't widen the
source register.
Also continue converging AMDGPU merge/unmerge legality rules towards
what they should be.
Paths
| Differential D65473
GlobalISel: Avoid widening unmerge with matching source type AbandonedPublic Authored by arsenm on Jul 30 2019, 1:00 PM.
Details
Summary If the target result type matches the original source, don't widen the Also continue converging AMDGPU merge/unmerge legality rules towards
Diff Detail Event TimelineHerald added subscribers: Petar.Avramovic, volkan, tpr and 4 others. · View Herald TranscriptJul 30 2019, 1:00 PM This revision is now accepted and ready to land.Aug 13 2019, 9:50 AM arsenm added a parent revision: D65441: GlobalISel: Improve widenScalar for G_UNMERGE_VALUES.Dec 27 2019, 2:13 PM
Revision Contents
Diff 212416 lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
|