Skip to content

Commit

Permalink
Apply clang-tidy fixes for readability-simplify-boolean-expr in Trans…
Browse files Browse the repository at this point in the history
…formOps.cpp (NFC)
  • Loading branch information
joker-eph committed Feb 14, 2024
1 parent dbc40b3 commit 1ddc541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Dialect/Transform/IR/TransformOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2223,7 +2223,7 @@ transform::SplitHandleOp::apply(transform::TransformRewriter &rewriter,
// - "fail_on_payload_too_small" is set to "false", or
// - "pass_through_empty_handle" is set to "true" and there are 0 payload ops.
if (numPayloadOps < getNumResults() && getFailOnPayloadTooSmall() &&
!(numPayloadOps == 0 && getPassThroughEmptyHandle()))
(numPayloadOps != 0 || !getPassThroughEmptyHandle()))
return produceNumOpsError();

// Distribute payload ops.
Expand Down

0 comments on commit 1ddc541

Please sign in to comment.