[Mlir-commits] [mlir] [mlir][EmitC] Add bitwise operators (PR #83387)

Marius Brehler llvmlistbot at llvm.org
Thu Feb 29 01:09:45 PST 2024


================
@@ -95,6 +95,118 @@ def EmitC_ApplyOp : EmitC_Op<"apply", []> {
   let hasVerifier = 1;
 }
 
+def EmitC_BitwiseAndOp : EmitC_BinaryOp<"bitwise_and", []> {
+  let summary = "Bitwise and operation";
+  let description = [{
+    With the `bitwise_and` operation the bitwise operator & (and) can
+    be applied.
+
+    Example:
+
+    ```mlirbool
----------------
marbre wrote:

Good catch!

https://github.com/llvm/llvm-project/pull/83387


More information about the Mlir-commits mailing list