Skip to content

Commit e5bcc9a

Browse files
committed
remove comments in lib
Signed-off-by: Max Dawkins <[email protected]>
1 parent 9f02751 commit e5bcc9a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mlir/lib/Dialect/Utils/StaticValueUtils.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,20 +132,16 @@ getConstantIntValues(ArrayRef<OpFoldResult> ofrs) {
132132
return res;
133133
}
134134

135-
/// Return true if `ofr` is constant integer equal to `value`.
136135
bool isConstantIntValue(OpFoldResult ofr, int64_t value) {
137136
auto val = getConstantIntValue(ofr);
138137
return val && *val == value;
139138
}
140139

141-
/// Return true if all of `ofrs` are constant integers equal to `value`.
142140
bool areAllConstantIntValue(ArrayRef<OpFoldResult> ofrs, int64_t value) {
143141
return llvm::all_of(
144142
ofrs, [&](OpFoldResult ofr) { return isConstantIntValue(ofr, value); });
145143
}
146144

147-
/// Return true if all of `ofrs` are constant integers equal to the
148-
/// corresponding value in `values`.
149145
bool areConstantIntValues(ArrayRef<OpFoldResult> ofrs,
150146
ArrayRef<int64_t> values) {
151147
if (ofrs.size() != values.size())

0 commit comments

Comments
 (0)