diff --git a/mlir/examples/toy/Ch2/mlir/MLIRGen.cpp b/mlir/examples/toy/Ch2/mlir/MLIRGen.cpp --- a/mlir/examples/toy/Ch2/mlir/MLIRGen.cpp +++ b/mlir/examples/toy/Ch2/mlir/MLIRGen.cpp @@ -324,9 +324,9 @@ return builder.create(location, operands[0]); } - // Otherwise this is a call to a user-defined function. Calls to user-defined - // functions are mapped to a custom call that takes the callee name as an - // attribute. + // Otherwise this is a call to a user-defined function. Calls to + // user-defined functions are mapped to a custom call that takes the callee + // name as an attribute. return builder.create(location, callee, operands); } diff --git a/mlir/examples/toy/Ch3/mlir/MLIRGen.cpp b/mlir/examples/toy/Ch3/mlir/MLIRGen.cpp --- a/mlir/examples/toy/Ch3/mlir/MLIRGen.cpp +++ b/mlir/examples/toy/Ch3/mlir/MLIRGen.cpp @@ -324,9 +324,9 @@ return builder.create(location, operands[0]); } - // Otherwise this is a call to a user-defined function. Calls to user-defined - // functions are mapped to a custom call that takes the callee name as an - // attribute. + // Otherwise this is a call to a user-defined function. Calls to + // user-defined functions are mapped to a custom call that takes the callee + // name as an attribute. return builder.create(location, callee, operands); } diff --git a/mlir/examples/toy/Ch4/mlir/MLIRGen.cpp b/mlir/examples/toy/Ch4/mlir/MLIRGen.cpp --- a/mlir/examples/toy/Ch4/mlir/MLIRGen.cpp +++ b/mlir/examples/toy/Ch4/mlir/MLIRGen.cpp @@ -328,9 +328,9 @@ return builder.create(location, operands[0]); } - // Otherwise this is a call to a user-defined function. Calls to user-defined - // functions are mapped to a custom call that takes the callee name as an - // attribute. + // Otherwise this is a call to a user-defined function. Calls to + // user-defined functions are mapped to a custom call that takes the callee + // name as an attribute. return builder.create(location, callee, operands); } diff --git a/mlir/examples/toy/Ch5/mlir/MLIRGen.cpp b/mlir/examples/toy/Ch5/mlir/MLIRGen.cpp --- a/mlir/examples/toy/Ch5/mlir/MLIRGen.cpp +++ b/mlir/examples/toy/Ch5/mlir/MLIRGen.cpp @@ -328,9 +328,9 @@ return builder.create(location, operands[0]); } - // Otherwise this is a call to a user-defined function. Calls to user-defined - // functions are mapped to a custom call that takes the callee name as an - // attribute. + // Otherwise this is a call to a user-defined function. Calls to + // user-defined functions are mapped to a custom call that takes the callee + // name as an attribute. return builder.create(location, callee, operands); } diff --git a/mlir/examples/toy/Ch6/mlir/MLIRGen.cpp b/mlir/examples/toy/Ch6/mlir/MLIRGen.cpp --- a/mlir/examples/toy/Ch6/mlir/MLIRGen.cpp +++ b/mlir/examples/toy/Ch6/mlir/MLIRGen.cpp @@ -328,9 +328,9 @@ return builder.create(location, operands[0]); } - // Otherwise this is a call to a user-defined function. Calls to user-defined - // functions are mapped to a custom call that takes the callee name as an - // attribute. + // Otherwise this is a call to a user-defined function. Calls to + // user-defined functions are mapped to a custom call that takes the callee + // name as an attribute. return builder.create(location, callee, operands); } diff --git a/mlir/examples/toy/Ch7/mlir/MLIRGen.cpp b/mlir/examples/toy/Ch7/mlir/MLIRGen.cpp --- a/mlir/examples/toy/Ch7/mlir/MLIRGen.cpp +++ b/mlir/examples/toy/Ch7/mlir/MLIRGen.cpp @@ -512,9 +512,9 @@ return builder.create(location, operands[0]); } - // Otherwise this is a call to a user-defined function. Calls to user-defined - // functions are mapped to a custom call that takes the callee name as an - // attribute. + // Otherwise this is a call to a user-defined function. Calls to + // user-defined functions are mapped to a custom call that takes the callee + // name as an attribute. auto calledFuncIt = functionMap.find(callee); if (calledFuncIt == functionMap.end()) { emitError(location) << "no defined function found for '" << callee << "'";