We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b54cd3f commit 7fc772bCopy full SHA for 7fc772b
llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
@@ -93,6 +93,7 @@
93
#include <cassert>
94
#include <iterator>
95
#include <limits>
96
+#include <optional>
97
#include <utility>
98
#include <vector>
99
@@ -547,8 +548,8 @@ class LoopConstrainer {
547
548
// space of the main loop.
549
550
struct SubRanges {
- Optional<const SCEV *> LowLimit;
551
- Optional<const SCEV *> HighLimit;
+ std::optional<const SCEV *> LowLimit;
552
+ std::optional<const SCEV *> HighLimit;
553
};
554
555
// Compute a safe set of limits for the main loop to run in -- effectively the
0 commit comments