Skip to content

Commit dac8e07

Browse files
committed
fix conflicts
Signed-off-by: hanhanW <hanhan0912@gmail.com>
1 parent bbf0a06 commit dac8e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/iree/compiler/Codegen/Common/ReconcileTranslationInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,8 +860,8 @@ void ReconcileTranslationInfoPass::runOnOperation() {
860860
// workgroup_size/subgroup_size can be propagated to the export.
861861
Location loc = rootFuncOp.getLoc();
862862
rewriter.setInsertionPointAfter(rootFuncOp);
863-
configOp = IREE::Codegen::DispatchConfigOp::create(rewriter, loc,
864-
rootFuncOp.getName());
863+
configOp = IREE::Codegen::DispatchConfigOp::create(
864+
rewriter, loc, FlatSymbolRefAttr::get(rootFuncOp.getNameAttr()));
865865
Block *block = rewriter.createBlock(&configOp.getBody());
866866
rewriter.setInsertionPointToStart(block);
867867
auto c1 = arith::ConstantIndexOp::create(rewriter, loc, 1);

0 commit comments

Comments
 (0)