This fixes the 5b898bddff51 bug when the carry-in and carry-out registers became lost in lowering S_ADD/SUB_CO_PSEUDO.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D80158
[AMDGPU] Fix for the lost CarryOut/CarryIn register operands in S_ADD/SUB_CO_PSEUDO. ClosedPublic Authored by alex-t on May 18 2020, 1:57 PM.
Details Summary This fixes the 5b898bddff51 bug when the carry-in and carry-out registers became lost in lowering S_ADD/SUB_CO_PSEUDO.
Diff Detail
Event TimelineThis revision now requires changes to proceed.May 18 2020, 2:10 PM
This revision is now accepted and ready to land.May 27 2020, 6:17 AM Closed by commit rGeb1092ada32d: [AMDGPU] Fix for the lost CarryOut/CarryIn register operands in… (authored by alex-t). · Explain WhyMay 27 2020, 1:04 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 265568 llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/test/CodeGen/AMDGPU/s_add_co_pseudo_lowering.mir
|
I'm pretty sure there's a constrain to regclass helper that will do this for you