]> granicus.if.org Git - llvm/commit
AMDGPU/GlobalISel: Complete implementation of G_GEP
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 1 Jul 2019 16:34:48 +0000 (16:34 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 1 Jul 2019 16:34:48 +0000 (16:34 +0000)
commit5060182440213c28a821fa5cd6918e77533951a6
treeb763771c6de27fea47f50e8b1a998c7309dba9d4
parentb1c22290afccf683e1c6d73cc03ae8057b9f7a51
AMDGPU/GlobalISel: Complete implementation of G_GEP

Also works around tablegen defect in selecting add with unused carry,
but if we have to manually select GEP, might as well handle add
manually.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364806 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUGISel.td
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
lib/Target/AMDGPU/AMDGPUInstructionSelector.h
test/CodeGen/AMDGPU/GlobalISel/inst-select-add.mir
test/CodeGen/AMDGPU/GlobalISel/inst-select-gep.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir