Skip to content

Commit d3a414e

Browse files
committed
fix compile
1 parent b2a4702 commit d3a414e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ LogicalResult transform::FuseOp::verify() {
768768
llvm::SmallDenseSet<int64_t, 4> seen;
769769
for (int64_t v : permutation) {
770770
if (!ShapedType::isDynamic(v)) {
771-
if (v < 0 || v >= iterspace_dim)
771+
if (v < 0 || v >= static_cast<int64_t>(iterspace_dim))
772772
return emitOpError() << "expects interchange values to be in range [0, "
773773
<< iterspace_dim << "), found: " << v;
774774
auto result = seen.insert(v);

0 commit comments

Comments
 (0)