[Mlir-commits] [mlir] 921b13f - Missing climits header file in MemRefUtils.h
Alex Zinenko
llvmlistbot at llvm.org
Fri Aug 12 05:17:42 PDT 2022
Author: Jinyun Joey Ye
Date: 2022-08-12T14:17:36+02:00
New Revision: 921b13f263105e75e88fc6b5decb9b9981d1b737
URL: https://github.com/llvm/llvm-project/commit/921b13f263105e75e88fc6b5decb9b9981d1b737
DIFF: https://github.com/llvm/llvm-project/commit/921b13f263105e75e88fc6b5decb9b9981d1b737.diff
LOG: Missing climits header file in MemRefUtils.h
MemRefUtils.h uses UINT_MAX, which is not included in current header files list. This patch include climits to avoid compilation error in this header file.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D131529
Added:
Modified:
mlir/include/mlir/ExecutionEngine/MemRefUtils.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/ExecutionEngine/MemRefUtils.h b/mlir/include/mlir/ExecutionEngine/MemRefUtils.h
index be33aaf0ae9a9..f2e46d2f8b6ba 100644
--- a/mlir/include/mlir/ExecutionEngine/MemRefUtils.h
+++ b/mlir/include/mlir/ExecutionEngine/MemRefUtils.h
@@ -25,6 +25,7 @@
#include <algorithm>
#include <array>
#include <cassert>
+#include <climits>
#include <functional>
#include <initializer_list>
#include <memory>
More information about the Mlir-commits
mailing list