[Mlir-commits] [mlir] d6fbe13 - [MLIR][Presburger] MPInt: use /// for top-level comment, not // (NFC)

Arjun P llvmlistbot at llvm.org
Thu Jul 14 16:30:18 PDT 2022


Author: Arjun P
Date: 2022-07-15T00:30:02+01:00
New Revision: d6fbe1394f7704d944011e3e16bc23ff0724e142

URL: https://github.com/llvm/llvm-project/commit/d6fbe1394f7704d944011e3e16bc23ff0724e142
DIFF: https://github.com/llvm/llvm-project/commit/d6fbe1394f7704d944011e3e16bc23ff0724e142.diff

LOG: [MLIR][Presburger] MPInt: use /// for top-level comment, not // (NFC)

Added: 
    

Modified: 
    mlir/include/mlir/Analysis/Presburger/MPInt.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Analysis/Presburger/MPInt.h b/mlir/include/mlir/Analysis/Presburger/MPInt.h
index 90169cac4301..8098192a9674 100644
--- a/mlir/include/mlir/Analysis/Presburger/MPInt.h
+++ b/mlir/include/mlir/Analysis/Presburger/MPInt.h
@@ -24,12 +24,12 @@ namespace mlir {
 namespace presburger {
 
 namespace detail {
-// If builtin intrinsics for overflow-checked arithmetic are available,
-// use them. Otherwise, call through to LLVM's overflow-checked arithmetic
-// functionality. Those functions also have such macro-gated uses of intrinsics,
-// however they are not always_inlined, which is important for us to achieve
-// high-performance; calling the functions directly would result in a slowdown
-// of 1.15x.
+/// If builtin intrinsics for overflow-checked arithmetic are available,
+/// use them. Otherwise, call through to LLVM's overflow-checked arithmetic
+/// functionality. Those functions also have such macro-gated uses of intrinsics
+/// but they are not always_inlined, which is important for us to achieve
+/// high-performance; calling the functions directly would result in a slowdown
+/// of 1.15x.
 LLVM_ATTRIBUTE_ALWAYS_INLINE bool addOverflow(int64_t x, int64_t y,
                                               int64_t &result) {
 #if __has_builtin(__builtin_add_overflow)


        


More information about the Mlir-commits mailing list