From d6fbe1394f7704d944011e3e16bc23ff0724e142 Mon Sep 17 00:00:00 2001 From: Arjun P Date: Fri, 15 Jul 2022 00:18:17 +0100 Subject: [PATCH] [MLIR][Presburger] MPInt: use /// for top-level comment, not // (NFC) --- mlir/include/mlir/Analysis/Presburger/MPInt.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mlir/include/mlir/Analysis/Presburger/MPInt.h b/mlir/include/mlir/Analysis/Presburger/MPInt.h index 90169ca..8098192 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) -- 2.7.4