[clang] [CIR] Upstream initial support for unary op (PR #131369)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 14 11:19:20 PDT 2025
================
@@ -468,6 +468,55 @@ def BrOp : CIR_Op<"br",
}];
}
+//===----------------------------------------------------------------------===//
+// UnaryOp
+//===----------------------------------------------------------------------===//
+
+def UnaryOpKind_Inc : I32EnumAttrCase<"Inc", 1, "inc">;
----------------
erichkeane wrote:
do we not need to differentiate pre and post increment? They have sufficiently different semantics.
https://github.com/llvm/llvm-project/pull/131369
More information about the cfe-commits
mailing list