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 87b8eac commit 2e88473Copy full SHA for 2e88473
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 = {"bf16"};
+ const static std::string strType = "bf16";
60
+ options.sourceTypeStrs = {&strType, 1};
61
options.targetTypeStr = "f32";
62
pm.addNestedPass<func::FuncOp>(
63
arith::createArithEmulateUnsupportedFloats(options));
0 commit comments