[flang-commits] [flang] [flang] Represent use statement in fir. (PR #168106)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Sun Dec 21 09:39:47 PST 2025


================
@@ -0,0 +1,80 @@
+! RUN: %flang_fc1 -emit-fir -debug-info-kind=standalone %s -o - | FileCheck %s --check-prefix=WITH_DEBUG
+! RUN: %flang_fc1 -emit-fir %s -o - | FileCheck %s --check-prefix=NO_DEBUG
+! RUN: %flang_fc1 -emit-fir -debug-info-kind=line-tables-only %s -o - | FileCheck %s --check-prefix=NO_DEBUG
----------------
tblah wrote:

Was there a particular reason to test this with -emit-fir rather than -emit-hlfir? We prefer -emit-hlfir because then the test does not need to be updated for changes in any of the passes between Bridge.cpp and FIR.

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


More information about the flang-commits mailing list