From 8ff609b2a2225413d72754f49444422eb48a9646 Mon Sep 17 00:00:00 2001 From: Morten Borup Petersen Date: Thu, 28 Oct 2021 18:20:03 +0100 Subject: [PATCH] [NFC][Handshake] Be explicit about constants taking a control input --- include/circt/Dialect/Handshake/HandshakeOps.td | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/circt/Dialect/Handshake/HandshakeOps.td b/include/circt/Dialect/Handshake/HandshakeOps.td index ccb4e0649dbb..76c69dc8f736 100644 --- a/include/circt/Dialect/Handshake/HandshakeOps.td +++ b/include/circt/Dialect/Handshake/HandshakeOps.td @@ -426,16 +426,16 @@ def ConstantOp : Handshake_Op<"constant", [ ]> { let summary = "constant operation"; let description = [{ - The "handshake.const" has a constant value.When triggered by its - single input, it sends the constant value to its single + The "handshake.const" has a constant value. When triggered by its + single `ctrl` input, it sends the constant value to its single successor. }]; - let arguments = (ins AnyType, AnyAttr : $value); + let arguments = (ins AnyAttr:$value, AnyType:$ctrl); let results = (outs AnyType); // let skipDefaultBuilders = 1; - let builders = [OpBuilder<(ins "Attribute":$value, "Value":$operand)>]; + let builders = [OpBuilder<(ins "Attribute":$value, "Value":$ctrl)>]; let hasCanonicalizer = 1; let extraClassDeclaration = [{