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.
2 parents c76eace + 2e88473 commit e8f7c3cCopy full SHA for e8f7c3c
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 = std::array<std::string, 1>({"bf16"});
+ std::array<std::string, 1> typeStr = {"bf16"};
60
+ options.sourceTypeStrs = typeStr;
61
options.targetTypeStr = "f32";
62
pm.addNestedPass<func::FuncOp>(
63
arith::createArithEmulateUnsupportedFloats(options));
0 commit comments