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 706b395 commit 2cbfa93Copy full SHA for 2cbfa93
mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
@@ -393,7 +393,7 @@ def _unary_log(self, x: Value) -> Value:
393
394
def _unary_abs(self, x: Value) -> Value:
395
if _is_floating_point_type(x.type):
396
- return math.AbsOp(x).result
+ return math.AbsFOp(x).result
397
raise NotImplementedError("Unsupported 'abs' operand: {x}")
398
399
def _unary_ceil(self, x: Value) -> Value:
0 commit comments