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 8416732 commit 9b16692Copy full SHA for 9b16692
lib/gc/Transforms/Pipeline.cpp
@@ -56,7 +56,8 @@ void populateVectorPasses(mlir::PassManager &pm) {
56
pm.addNestedPass<func::FuncOp>(math::createMathLegalizeToF32());
57
// sourceTypeStrs can be extended
58
arith::ArithEmulateUnsupportedFloatsOptions options;
59
- options.sourceTypeStrs = SmallVector<std::string>{"bf16"};
+ static ArrayRef<std::string> data = {"bf16"};
60
+ options.sourceTypeStrs = data;
61
options.targetTypeStr = "f32";
62
pm.addNestedPass<func::FuncOp>(
63
arith::createArithEmulateUnsupportedFloats(options));
0 commit comments