[polly] c80b88e - [polly] #include <algorithm>

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 21 13:28:39 PDT 2022


Author: Arthur Eubanks
Date: 2022-06-21T13:27:55-07:00
New Revision: c80b88ee29f34078d2149de94e27600093e6c7c0

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

LOG: [polly] #include <algorithm>

For the usage of std::max in the header.

Speculative fix for
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-windows-x64/b8810806780048763729/overview
reported in https://reviews.llvm.org/D125263.

Added: 
    

Modified: 
    polly/include/polly/Support/ISLTools.h

Removed: 
    


################################################################################
diff  --git a/polly/include/polly/Support/ISLTools.h b/polly/include/polly/Support/ISLTools.h
index 0aa766413f63e..f7bc29495a9cd 100644
--- a/polly/include/polly/Support/ISLTools.h
+++ b/polly/include/polly/Support/ISLTools.h
@@ -17,6 +17,7 @@
 #include "llvm/ADT/Sequence.h"
 #include "llvm/ADT/iterator.h"
 #include "isl/isl-noexceptions.h"
+#include <algorithm>
 #include <cassert>
 
 /// In debug builds assert that the @p Size is valid, in non-debug builds


        


More information about the llvm-commits mailing list