[flang-commits] [flang] [flang][HLFIR] Use GreedyPatternRewriter in LowerHLFIRIntrinsics (PR #83438)

Matthias Springer via flang-commits flang-commits at lists.llvm.org
Thu Feb 29 07:45:54 PST 2024


================
@@ -55,32 +54,31 @@ func.func @_QPminloc2(%arg0: !fir.box<!fir.array<?x?xi32>> {fir.bindc_name = "a"
 // CHECK:           %[[ARG0:.*]]: !fir.box<!fir.array<?x?xi32>> {fir.bindc_name = "a"}
 // CHECK:           %[[ARG1:.*]]: !fir.box<!fir.array<?xi32>> {fir.bindc_name = "s"}
 // CHECK:           %[[ARG2:.*]]: !fir.ref<index>
-// CHECK-NEXT:    %[[V0:.*]] = fir.alloca !fir.box<!fir.heap<!fir.array<?xi32>>>
+// CHECK-DAG:     %[[TRUE:.*]] = arith.constant true
+// CHECK-DAG:     %[[FALSE:.*]] = arith.constant false
+// CHECK-DAG:    %[[C0:.*]] = arith.constant 0 : index
----------------
matthias-springer wrote:

nit: indent

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


More information about the flang-commits mailing list