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 4dca445 commit ac37a0dCopy full SHA for ac37a0d
mlir/include/mlir/IR/OpBase.td
@@ -566,7 +566,7 @@ class ShapedTypeMatchesElementCountAndTypes<string shapedArg,
566
PredOpTrait<"shaped type '" # shapedArg # "' matches '" # elementsArg # "' "
567
"element count and types",
568
And<[CPred<ElementCount<shapedArg>.result # " == "
569
- "$" # elementsArg # ".getTypes().size()">,
+ "static_cast<int64_t>($" # elementsArg # ".getTypes().size())">,
570
CPred<"::llvm::all_of($" # elementsArg # ".getTypes(), "
571
"[&](::mlir::Type t) { return t == "
572
# ElementType<shapedArg>.result # "; })">]>> {
0 commit comments