[flang-commits] [flang] [flang] preserve logical operations in single FIR operation (PR #190771)

via flang-commits flang-commits at lists.llvm.org
Wed Apr 8 09:32:23 PDT 2026


================
@@ -2845,6 +2845,77 @@ def fir_DivcOp : ComplexArithmeticOp<"divc",
     [DeclareOpInterfaceMethods<ArithFastMathInterface>]>;
 // Pow is a builtin call and not a primitive
 
+// Logical operations
+
+class LogicalBinaryOp<string mnemonic, list<Trait> traits = []> :
----------------
jeanPerier wrote:

Thanks for the review Tom, yes, thanks for catching it.

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


More information about the flang-commits mailing list