[flang-commits] [flang] [Support] Add KnownBits::computeForSubBorrow (PR #67788)

Simon Pilgrim via flang-commits flang-commits at lists.llvm.org
Tue Oct 10 05:33:42 PDT 2023


================
@@ -332,6 +332,10 @@ struct KnownBits {
   static KnownBits computeForAddSub(bool Add, bool NSW, const KnownBits &LHS,
                                     KnownBits RHS);
 
+  /// Compute known bits results from subtracting RHS from LHS.
----------------
RKSimon wrote:

Add to comment "and a 1-bit borrow"

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


More information about the flang-commits mailing list