[PATCH] D73111: GlobalISel: Reimplement widenScalar for G_UNMERGE_VALUES results

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 08:05:47 PST 2020


arsenm created this revision.
arsenm added reviewers: dsanders, paquette, aditya_nandakumar, aemerson, kerbowa.
Herald added subscribers: Petar.Avramovic, volkan, hiraditya, rovka, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.

Only use shifts if the requested type exactly matches the source type,
and create sub-unmerges otherwise.


https://reviews.llvm.org/D73111

Files:
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-unmerge-values.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-anyext.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-zext.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73111.239327.patch
Type: text/x-patch
Size: 199952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200121/86a25c97/attachment-0001.bin>


More information about the llvm-commits mailing list