]> granicus.if.org Git - llvm/commit
AMDGPU/GlobalISel: Fix constraining scalar and/or/xor
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 28 Aug 2019 02:11:03 +0000 (02:11 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 28 Aug 2019 02:11:03 +0000 (02:11 +0000)
commit78868df3d7bf98093c67a3eeb13d10271fbe3339
tree3e0a4cdc906c0dd1a2414a4ca9d8affd83ca5dda
parente52519dc766b9eb7840ce017fce535cc922dd086
AMDGPU/GlobalISel: Fix constraining scalar and/or/xor

If the result register already had a register class assigned, the
sources may not have been properly constrained.

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