From: Wael Yehia Date: Mon, 26 Apr 2021 14:18:51 +0000 (-0400) Subject: XFAIL thinlto testcases on AIX X-Git-Tag: llvmorg-14-init~8440 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91db11c98db5de3e6079bddc0aba896ec3d3d0ad;p=platform%2Fupstream%2Fllvm.git XFAIL thinlto testcases on AIX In D100350, we switched off thinLTO on the AIX OS. So, XFAIL tests that invoke clang with -flto=thin on AIX. --- diff --git a/clang/test/CodeGen/thinlto-backend-option.ll b/clang/test/CodeGen/thinlto-backend-option.ll index b25b584..556aaf9 100644 --- a/clang/test/CodeGen/thinlto-backend-option.ll +++ b/clang/test/CodeGen/thinlto-backend-option.ll @@ -6,6 +6,8 @@ ; scenario independent of any particular backend options that may exist now or ; in the future. +; XFAIL: aix + ; RUN: %clang -flto=thin -c -o %t.o %s ; RUN: llvm-lto -thinlto -o %t %t.o ; RUN: not %clang_cc1 -x ir %t.o -fthinlto-index=%t.thinlto.bc -mllvm -nonexistent -emit-obj -o /dev/null 2>&1 | FileCheck %s -check-prefix=UNKNOWN diff --git a/clang/test/CodeGen/thinlto-emit-llvm.c b/clang/test/CodeGen/thinlto-emit-llvm.c index d6ef665..dc46ae7 100644 --- a/clang/test/CodeGen/thinlto-emit-llvm.c +++ b/clang/test/CodeGen/thinlto-emit-llvm.c @@ -1,3 +1,5 @@ +// XFAIL: aix + // Test to ensure -emit-llvm and -emit-llvm-bc work when invoking the // ThinLTO backend path. // RUN: %clang -O2 %s -flto=thin -c -o %t.o diff --git a/clang/test/Driver/thinlto_backend.c b/clang/test/Driver/thinlto_backend.c index 7a3d6ed..64f0a7b 100644 --- a/clang/test/Driver/thinlto_backend.c +++ b/clang/test/Driver/thinlto_backend.c @@ -1,3 +1,5 @@ +// XFAIL: aix + // RUN: %clang -O2 %s -flto=thin -c -o %t.o // RUN: llvm-lto -thinlto -o %t %t.o diff --git a/clang/test/Integration/thinlto_profile_sample_accurate.c b/clang/test/Integration/thinlto_profile_sample_accurate.c index ac7274ce..b756829 100644 --- a/clang/test/Integration/thinlto_profile_sample_accurate.c +++ b/clang/test/Integration/thinlto_profile_sample_accurate.c @@ -1,3 +1,5 @@ +// XFAIL: aix + // Test to ensure -emit-llvm profile-sample-accurate is honored in ThinLTO. // RUN: %clang -O2 %s -flto=thin -fprofile-sample-accurate -c -o %t.o // RUN: llvm-lto -thinlto -o %t %t.o