We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbf0a06 commit dac8e07Copy full SHA for dac8e07
compiler/src/iree/compiler/Codegen/Common/ReconcileTranslationInfo.cpp
@@ -860,8 +860,8 @@ void ReconcileTranslationInfoPass::runOnOperation() {
860
// workgroup_size/subgroup_size can be propagated to the export.
861
Location loc = rootFuncOp.getLoc();
862
rewriter.setInsertionPointAfter(rootFuncOp);
863
- configOp = IREE::Codegen::DispatchConfigOp::create(rewriter, loc,
864
- rootFuncOp.getName());
+ configOp = IREE::Codegen::DispatchConfigOp::create(
+ rewriter, loc, FlatSymbolRefAttr::get(rootFuncOp.getNameAttr()));
865
Block *block = rewriter.createBlock(&configOp.getBody());
866
rewriter.setInsertionPointToStart(block);
867
auto c1 = arith::ConstantIndexOp::create(rewriter, loc, 1);
0 commit comments