[flang-commits] [flang] [flang][Driver] Add support for -mllvm -print-pipeline-passes (PR #106141)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Tue Aug 27 04:22:43 PDT 2024
================
@@ -0,0 +1,10 @@
+! Test that -print-pipeline-passes works in flang
+
+! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -o /dev/null -mllvm -print-pipeline-passes -O0 %s 2>&1 | FileCheck %s
----------------
tarunprabhu wrote:
That is a good point. I just modeled it off of the corresponding test in `clang`, but it should work just fine for any host.
https://github.com/llvm/llvm-project/pull/106141
More information about the flang-commits
mailing list