File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/mlir/Dialect/Affine/Analysis
lib/Dialect/Affine/Analysis Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ struct ComputationSliceState {
312
312
// / return false as it implies that the effective fusion results in at least
313
313
// / one iteration of the slice that was not originally in the source's domain.
314
314
// / If the validity cannot be determined, returns std::nullopt.
315
- std::optional<bool > isSliceValid ();
315
+ std::optional<bool > isSliceValid () const ;
316
316
317
317
void dump () const ;
318
318
Original file line number Diff line number Diff line change @@ -687,7 +687,7 @@ std::optional<bool> ComputationSliceState::isSliceMaximalFastCheck() const {
687
687
// / Returns true if it is deterministically verified that the original iteration
688
688
// / space of the slice is contained within the new iteration space that is
689
689
// / created after fusing 'this' slice into its destination.
690
- std::optional<bool > ComputationSliceState::isSliceValid () {
690
+ std::optional<bool > ComputationSliceState::isSliceValid () const {
691
691
// Fast check to determine if the slice is valid. If the following conditions
692
692
// are verified to be true, slice is declared valid by the fast check:
693
693
// 1. Each slice loop is a single iteration loop bound in terms of a single
You can’t perform that action at this time.
0 commit comments