[llvm] [AMDGPU][GlobalISel] Fold zext(carry) into add/sub-with-carry (PR #224093)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 10:56:50 PDT 2026


================
@@ -393,6 +398,35 @@ bool AMDGPUPostLegalizerCombinerImpl::matchCombine_s_mul_u64(
   return false;
 }
 
+bool AMDGPUPostLegalizerCombinerImpl::isCarryOut(Register Reg) const {
----------------
arsenm wrote:

Matchable in tablegen 

https://github.com/llvm/llvm-project/pull/224093


More information about the llvm-commits mailing list