Skip to content

Commit f3c7191

Browse files
author
Raghav Malik
committed
format
1 parent e4be4d6 commit f3c7191

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/Transforms/LLZKInlineStructsPass.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,11 +327,12 @@ class StructInliner {
327327
// Create a clone of the source function (must do the whole function not just the body
328328
// region because `inlineCall()` expects the Region to have a parent op) and update field
329329
// references to the old struct fields to instead use the new struct fields.
330-
FuncDefOp srcFuncClone =
331-
FieldRefRewriter::cloneWithFieldRefUpdate(std::make_unique<FieldRefRewriter>(
330+
FuncDefOp srcFuncClone = FieldRefRewriter::cloneWithFieldRefUpdate(
331+
std::make_unique<FieldRefRewriter>(
332332
srcFunc, selfFieldRefOp.getComponent(),
333333
this->destToSrcToClone.at(this->data.getDef(selfFieldRefOp))
334-
));
334+
)
335+
);
335336
this->processCloneBeforeInlining(srcFuncClone);
336337

337338
// Inline the cloned function in place of `callOp`

0 commit comments

Comments
 (0)