]> granicus.if.org Git - llvm/commit
AMDGPU/GlobalISel: Use S_MOV_B64 for inline constants
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Oct 2019 19:07:19 +0000 (19:07 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Oct 2019 19:07:19 +0000 (19:07 +0000)
commit80d65f2e3aceeb5ffadb7d3ecb7bfd03101d8e52
treeaeccd8493eb091ec9bee5979b7e174fa925827a6
parentd445793c39ba1dbc4dce8ec4ad676bc921ab2dc8
AMDGPU/GlobalISel: Use S_MOV_B64 for inline constants

This hides some defects in SIFoldOperands when the immediates are
split.

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