[flang-commits] [flang] [flang][NFC] Converted five tests from old lowering to new lowering (part 6) (PR #175485)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Wed Jan 14 07:27:34 PST 2026


================
@@ -1,303 +1,93 @@
-! RUN: bbc --emit-fir -hlfir=false %s -o - | FileCheck %s
-! RUN: bbc -hlfir=false -fwrapv %s -o - | FileCheck --check-prefix=PostOpt %s
-
+! RUN: bbc -emit-hlfir %s -o - | FileCheck %s
+! RUN: bbc -emit-hlfir -fwrapv %s -o - | FileCheck %s
+! Note: with the old lowering, -fwrapv made a differents in FIR output.
+! With lowering to HLFIR, there's no difference at HLFIR level.
----------------
eugeneepshteyn wrote:

Thank you, Jean, I removed `-fwrapv` and will do so from the other old lowering tests.

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


More information about the flang-commits mailing list