[flang-commits] [flang] [flang] Modify lto testcase for AIX (PR #74496)

via flang-commits flang-commits at lists.llvm.org
Wed Dec 6 06:01:20 PST 2023


================
@@ -11,7 +11,7 @@
 
 ! Also check linker plugin opt for Thin LTO
 ! RUN: %flang -### -flto=thin %s 2>&1 | FileCheck %s \
-! RUN:        --check-prefixes=%if system-darwin %{THIN-LTO-ALL%} \
+! RUN:        --check-prefixes=%if system-darwin %{THIN-LTO-ALL%}%if system-aix %{THIN-LTO-ALL,THIN-LTO-LINKER-PLUGIN-AIX%} \
 ! RUN:        %else %{THIN-LTO-ALL,THIN-LTO-LINKER-PLUGIN%}
----------------
madanial0 wrote:

I agree that avoiding the nested `%if` is better, I added a new RUN line for powerpc aix to check `-bdbg:thinlto`

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


More information about the flang-commits mailing list