XFAIL thinlto testcases on AIX
authorWael Yehia <wyehia@ca.ibm.com>
Mon, 26 Apr 2021 14:18:51 +0000 (10:18 -0400)
committerWael Yehia <wyehia@ca.ibm.com>
Mon, 26 Apr 2021 17:02:06 +0000 (17:02 +0000)
In D100350, we switched off thinLTO on the AIX OS. So, XFAIL tests that
invoke clang with -flto=thin on AIX.

clang/test/CodeGen/thinlto-backend-option.ll
clang/test/CodeGen/thinlto-emit-llvm.c
clang/test/Driver/thinlto_backend.c
clang/test/Integration/thinlto_profile_sample_accurate.c

index b25b584..556aaf9 100644 (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
index d6ef665..dc46ae7 100644 (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
index 7a3d6ed..64f0a7b 100644 (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
 
index ac7274c..b756829 100644 (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