[PATCH] D63987: GlobalISel: Try to widen merges with other merges

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 05:30:38 PDT 2019


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

If the requested source type an be used as a merge source type, create
a merge of merges. This avoids creating large, illegal extensions and
bit-ops directly to the result type.


https://reviews.llvm.org/D63987

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63987.207262.patch
Type: text/x-patch
Size: 15942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190701/54d8a2cd/attachment.bin>


More information about the llvm-commits mailing list