We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5333a6e commit a57961fCopy full SHA for a57961f
mlir/test/python/rewrite.py
@@ -31,7 +31,7 @@ def to_muli(op, rewriter, pattern):
31
def constant_1_to_2(op, rewriter, pattern):
32
c = op.attributes["value"].value
33
if c != 1:
34
- return True # failed to match
+ return True # failed to match
35
with rewriter.ip:
36
new_op = arith.constant(op.result.type, 2, loc=op.location)
37
rewriter.replace_op(op, [new_op])
0 commit comments