[PATCH] D57426: GlobalISel: Implement widenScalar for G_UNMERGE_VALUES

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 29 16:52:24 PST 2019


arsenm created this revision.
arsenm added reviewers: aemerson, aditya_nandakumar, volkan, dsanders, paquette.
Herald added subscribers: Petar.Avramovic, javed.absar, kristof.beyls, rovka, nhaehnle, wdng, jvesely.

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.


https://reviews.llvm.org/D57426

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57426.184205.patch
Type: text/x-patch
Size: 20324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190130/0217cd75/attachment.bin>


More information about the llvm-commits mailing list