Skip to content

Commit 8416732

Browse files
author
Zhang Yan
committed
fix gc-check fail on create arith pass
1 parent 87b8eac commit 8416732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gc/Transforms/Pipeline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void populateVectorPasses(mlir::PassManager &pm) {
5656
pm.addNestedPass<func::FuncOp>(math::createMathLegalizeToF32());
5757
// sourceTypeStrs can be extended
5858
arith::ArithEmulateUnsupportedFloatsOptions options;
59-
options.sourceTypeStrs = {"bf16"};
59+
options.sourceTypeStrs = SmallVector<std::string>{"bf16"};
6060
options.targetTypeStr = "f32";
6161
pm.addNestedPass<func::FuncOp>(
6262
arith::createArithEmulateUnsupportedFloats(options));

0 commit comments

Comments
 (0)