For the scalar case only.
Also move the similar G_MERGE_VALUES handling to a separate function
and cleanup to make them look more similar.
Paths
| Differential D57426
GlobalISel: Implement widenScalar for G_UNMERGE_VALUES ClosedPublic Authored by arsenm on Jan 29 2019, 4:51 PM.
Details Summary For the scalar case only. Also move the similar G_MERGE_VALUES handling to a separate function
Diff Detail Event TimelineHerald added subscribers: Petar.Avramovic, javed.absar, kristof.beyls and 4 others. · View Herald TranscriptJan 29 2019, 4:51 PM aemerson added inline comments.
This revision now requires changes to proceed.Jan 30 2019, 3:08 PM arsenm marked 3 inline comments as done. Comment ActionsAddress comments, use more MachineIRBuilder trickery This revision is now accepted and ready to land.Feb 1 2019, 3:47 PM
Revision Contents
Diff 184446 include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/legalize-unmerge-values.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
|
Rename EltSize to PartSize to make it clear it's not a vector element.