[AMDGPU][GlobalISel] Scalarize add/sub with overflow ops in the legalizer
authorAbinav Puthan Purayil <abinavpp@gmail.com>
Thu, 31 Mar 2022 11:03:28 +0000 (16:33 +0530)
committerAbinav Puthan Purayil <abinavpp@gmail.com>
Thu, 31 Mar 2022 16:16:34 +0000 (21:46 +0530)
commit898d5776ec3ab8a35047e735c9c9059a4d189759
tree6395a899f00b0a313f61df0704114bc048f958d7
parentdb17ebd593f67a9645aaabbbbf9f74afdfc1b6f1
[AMDGPU][GlobalISel] Scalarize add/sub with overflow ops in the legalizer

Differential Revision: https://reviews.llvm.org/D122803
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/addo.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sadde.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssube.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uadde.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uaddo.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-usube.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-usubo.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/subo.ll