[Mlir-commits] [mlir] [mlir][EmitC] Add `unary_{minus, plus}` operators (PR #84329)
Simon Camphausen
llvmlistbot at llvm.org
Thu Mar 7 07:01:11 PST 2024
================
@@ -908,6 +908,42 @@ def EmitC_SubOp : EmitC_BinaryOp<"sub", [CExpression]> {
let hasVerifier = 1;
}
+def EmitC_UnaryMinusOp : EmitC_UnaryOp<"unary_minus", []> {
----------------
simon-camp wrote:
```suggestion
def EmitC_UnaryMinusOp : EmitC_UnaryOp<"unary_minus", [CExpression]> {
```
https://github.com/llvm/llvm-project/pull/84329
More information about the Mlir-commits
mailing list