Skip to content

Commit

Permalink
revert ConditionalBranchOp to use AllTypesMatch
Browse files Browse the repository at this point in the history
  • Loading branch information
shundroid committed Feb 7, 2025
1 parent 327c40b commit 0c5be47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dynamatic/Dialect/Handshake/HandshakeOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def BranchOp : Handshake_Op<"br", [
}

def ConditionalBranchOp : Handshake_Op<"cond_br", [
AllDataTypesMatch<["dataOperand", "trueResult", "falseResult"]>,
AllTypesMatch<["dataOperand", "trueResult", "falseResult"]>,
AllExtraSignalsMatch<["conditionOperand", "dataOperand", "trueResult", "falseResult"]>,
DeclareOpInterfaceMethods<InferTypeOpInterface, ["inferReturnTypes"]>,
DeclareOpInterfaceMethods<ControlInterface, ["isControl"]>,
Expand Down

0 comments on commit 0c5be47

Please sign in to comment.