[PATCH] D65441: GlobalISel: Improve widenScalar for G_UNMERGE_VALUES

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 05:45:24 PDT 2019


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

Create sub-unmerges instead of immediately extending to the requested
size. This avoids very ugly expansions with wide types.


https://reviews.llvm.org/D65441

Files:
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65441.212319.patch
Type: text/x-patch
Size: 10121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190730/fb0a858d/attachment.bin>


More information about the llvm-commits mailing list