AMDGPU/GlobalISel: Lower 64-bit uaddo/usubo
authorJay Foad <jay.foad@amd.com>
Fri, 24 Jan 2020 09:02:47 +0000 (09:02 +0000)
committerJay Foad <jay.foad@amd.com>
Mon, 24 Feb 2020 23:08:14 +0000 (23:08 +0000)
commit0ed4744bb511baea08652491aaba4131bc3d676f
treee20966796e8f233abb60d24ce1463dce6690ccdd
parent0368997402ae5f62efc83ec7b6f9052e01916943
AMDGPU/GlobalISel: Lower 64-bit uaddo/usubo

Summary: Add more test cases for signed and unsigned add/sub with overflow.

Reviewers: arsenm, rampitec, kerbowa

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, rovka, dstuttard, tpr, t-tye, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75051
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uaddo.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-usubo.mir