Skip to content

Commit b92a45d

Browse files
🎨 pre-commit fixes
1 parent c621e99 commit b92a45d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/lib/Dialect/MQTOpt/Transforms/SwapReconstructionPattern.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ struct SwapReconstructionPattern final : mlir::OpRewritePattern<XOp> {
254254
/**
255255
* @brief Find a user of the given operation for which isCandidate() is true.
256256
*/
257-
[[nodiscard]] static std::optional<XOp> findCandidate(XOp& op, bool isThirdCNot) {
257+
[[nodiscard]] static std::optional<XOp> findCandidate(XOp& op,
258+
bool isThirdCNot) {
258259
for (auto* user : op->getUsers()) {
259260
if (auto cnot = llvm::dyn_cast<XOp>(user)) {
260261
// TODO: check both directions?

mlir/test/Dialect/MQTOpt/Transforms/swap-reconstruction.mlir

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,3 @@ module {
237237
return
238238
}
239239
}
240-

0 commit comments

Comments
 (0)