[PATCH] D72511: GlobalISel: Handle more cases of G_SEXT narrowing

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 08:02:32 PST 2020


arsenm created this revision.
arsenm added reviewers: aemerson, paquette, aditya_nandakumar, dsanders.
Herald added subscribers: Petar.Avramovic, volkan, hiraditya, rovka, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.
arsenm added a parent revision: D72506: GlobalISel: Fix narrowScalar for G_ANYEXT results.

This now develops the same problem G_ZEXT/G_ANYEXT have where the
requested type is assumed to be the source type. This will be fixed
separately by creating intermediate merges.


https://reviews.llvm.org/D72511

Files:
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72511.237331.patch
Type: text/x-patch
Size: 10340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200110/5190cd6e/attachment.bin>


More information about the llvm-commits mailing list