[AMDGPU] Fix for the lost CarryOut/CarryIn register operands in S_ADD/SUB_CO_PSEUDO.
authoralex-t <alexander.timofeev@amd.com>
Mon, 18 May 2020 20:40:27 +0000 (23:40 +0300)
committeralex-t <alexander.timofeev@amd.com>
Wed, 27 May 2020 19:41:04 +0000 (22:41 +0300)
commiteb1092ada32d6855dcb4f763ce48ede21f4d7441
tree8edbb314466ea7d759c9e808e7afebea79c5506e
parent334552150770faaa407fecab42f5333bb2a898a6
[AMDGPU] Fix for the lost CarryOut/CarryIn register operands in S_ADD/SUB_CO_PSEUDO.

Summary: This fixes the 5b898bddff51 bug when the carry-in and carry-out registers became lost in lowering S_ADD/SUB_CO_PSEUDO.

Reviewers: rampitec, arsenm

Reviewed By: arsenm

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80158
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/test/CodeGen/AMDGPU/s_add_co_pseudo_lowering.mir [new file with mode: 0644]