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

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Mon Jan 12 07:07:17 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.
----------------
tarunprabhu wrote:

Is the FIR generated with -fwrapv tested elsewhere? I just want to make sure that we aren't "losing" a test here.

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


More information about the flang-commits mailing list