[llvm] [GlobalIsel] Combine ADDO (PR #82927)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 25 10:20:20 PST 2024


================
@@ -429,6 +431,23 @@ class GAddSubCarryOut : public GBinOpCarryOut {
   }
 };
 
+/// Represents overflowing add operations.
+/// G_UADDO, G_SADDO
+class GAddCarryOut : public GBinOpCarryOut {
----------------
s-barannikov wrote:

There is an odd interference with the more general `GAddSubCarryOut`. Do you really need this class?


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


More information about the llvm-commits mailing list