]> granicus.if.org Git - llvm/commit
GlobalISel: Implement lower for G_SADDO/G_SSUBO
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 16 Oct 2019 20:46:32 +0000 (20:46 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 16 Oct 2019 20:46:32 +0000 (20:46 +0000)
commit2097552a47b9896e3778823ca9f890d6bdd4309d
tree3774731a74702c90c3a16f07cf9cab96f4316050
parent1e4926f6d18a1512292f88877669432a24fc699a
GlobalISel: Implement lower for G_SADDO/G_SSUBO

Port directly from SelectionDAG, minus the path using
ISD::SADDSAT/ISD::SSUBSAT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375042 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/regbankselect-saddo.mir [deleted file]
test/CodeGen/AMDGPU/GlobalISel/regbankselect-ssubo.mir [deleted file]