[llvm] [GlobalIsel] Combine ADDO (PR #82927)
Kai Nacke via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 26 06:42:20 PST 2024
Thorsten =?utf-8?q?Sch=C3=BCtt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Sch=C3=BCtt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/82927 at github.com>
================
@@ -429,6 +431,23 @@ class GAddSubCarryOut : public GBinOpCarryOut {
}
};
+/// Represents overflowing add operations.
+/// G_UADDO, G_SADDO
+class GAddCarryOut : public GBinOpCarryOut {
----------------
redstar wrote:
`GAddSubCarryOut` has a `isSub()` method for that purpose.
https://github.com/llvm/llvm-project/pull/82927
More information about the llvm-commits
mailing list