[PATCH] D68532: GlobalISel: Partially implement lower for G_EXTRACT

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 18:19:06 PDT 2019


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

Turn into shift and truncate. Doesn't yet handle pointers.


https://reviews.llvm.org/D68532

Files:
  include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-extract.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68532.223349.patch
Type: text/x-patch
Size: 15658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191005/90b26fad/attachment.bin>


More information about the llvm-commits mailing list