]> granicus.if.org Git - llvm/commit
AMDGPU/GlobalISel: Select more G_INSERT cases
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Oct 2019 18:43:31 +0000 (18:43 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Oct 2019 18:43:31 +0000 (18:43 +0000)
commitedbb230b9166a4805a94f4225ead345c28f3021c
tree8bf32937cafbc20394aa1de636247d25640f677a
parentb4bef9ad2f10db0cda5110902dc8f10d6bc2089a
AMDGPU/GlobalISel: Select more G_INSERT cases

At minimum handle the s64 insert type, which are emitted in real cases
during legalization.

We really need TableGen to emit something to emit something like the
inverse of composeSubRegIndices do determine the subreg index to use.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373938 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir