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.
This commit is contained in:
Wael Yehia 2021-04-26 10:18:51 -04:00
parent a0c735e29a
commit 91db11c98d
4 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
// XFAIL: aix
// RUN: %clang -O2 %s -flto=thin -c -o %t.o
// RUN: llvm-lto -thinlto -o %t %t.o

View File

@ -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