Skip to content

Commit 12322aa

Browse files
committed
Update for formatter. No trivial braces.
1 parent 443dff2 commit 12322aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mlir/lib/Transforms/RemoveDeadValues.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -891,9 +891,8 @@ static bool processCallOp(CallOpInterface callOp, Operation *module,
891891
RunLivenessAnalysis &la) {
892892
Operation *callableOp = callOp.resolveCallable();
893893
auto funcOp = dyn_cast<FunctionOpInterface>(callableOp);
894-
if (!funcOp || !funcOp.isPublic()) {
894+
if (!funcOp || !funcOp.isPublic())
895895
return false;
896-
}
897896

898897
LDBG() << "Processing callOp " << callOp << " target is a public function: "
899898
<< funcOp.getOperation()->getName();
@@ -985,7 +984,7 @@ static bool processCallOp(CallOpInterface callOp, Operation *module,
985984
return true; // Changes were made
986985
}
987986

988-
return false; // No changes made
987+
return false;
989988
}
990989

991990
void RemoveDeadValues::runOnOperation() {

0 commit comments

Comments
 (0)