[all-commits] [llvm/llvm-project] 821fe9: [MLIR][Presburger] reintroduce int64_t versions of...
Arjun P via All-commits
all-commits at lists.llvm.org
Fri Jul 15 09:29:31 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 821fe9efa4832112071a21a2e6a898069a37d752
https://github.com/llvm/llvm-project/commit/821fe9efa4832112071a21a2e6a898069a37d752
Author: Arjun P <arjunpitchanathan at gmail.com>
Date: 2022-07-15 (Fri, 15 Jul 2022)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/MPInt.h
Log Message:
-----------
[MLIR][Presburger] reintroduce int64_t versions of floorDiv, ceilDiv in mlir::presburger namespace
This is useful because MPInt.h defines identically-named functions that
operate on MPInts, which would otherwie become the only candidates of
overload resolution when calling e.g. ceilDiv from the mlir::presburger
namespace (iff MPInt.h is included). So to access the 64-bit overloads, an
explict call to mlir::ceilDiv would be required. This patch adds `using`
declarations allowing overload resolution to transparently call the right
function.
Reviewed By: Groverkss
Differential Revision: https://reviews.llvm.org/D129820
More information about the All-commits
mailing list