]> granicus.if.org Git - llvm/commit
GlobalISel: Partially implement lower for G_EXTRACT
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 6 Oct 2019 01:37:35 +0000 (01:37 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 6 Oct 2019 01:37:35 +0000 (01:37 +0000)
commit97454bf24b5c50031445eab8fd78800b7f90978f
tree1a81e0cbde501be1f86d42b3fb6c908b7970ab49
parent1c6d4fc3e0b018ba8b3101b202fc5468ef603556
GlobalISel: Partially implement lower for G_EXTRACT

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373838 91177308-0d34-0410-b5e6-96231b3b80d8
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