[llvm] [compiler-rt] [test]Mark thinlto icp test as unsupported on powerpc (PR #75979)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 14:50:42 PST 2023


https://github.com/minglotus-6 created https://github.com/llvm/llvm-project/pull/75979

Test failed on ppc (https://lab.llvm.org/buildbot/#/builders/231/builds/18902), and logs shows missed import.

Cannot reproduce this with machines I could access so far. https://gcc.gnu.org/wiki/CompileFarm seems to provide ppc machine. Mark the thinlto icp test as unsupported for now.

>From 4bdcd68a1e222c6bd90c06e8a1d0f49cc88c88a1 Mon Sep 17 00:00:00 2001
From: mingmingl <mingmingl at google.com>
Date: Tue, 19 Dec 2023 14:46:48 -0800
Subject: [PATCH] [test]Mark thinlto icp test as unsupported on powerpc

---
 .../test/profile/instrprof-thinlto-indirect-call-promotion.cpp  | 2 ++
 .../Transforms/PGOProfile/thinlto_indirect_call_promotion.ll    | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp b/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp
index ed7faada0b8630..a8644bdb26ea64 100644
--- a/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp
+++ b/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp
@@ -35,6 +35,8 @@
 // specifies OS as Triple::OS::Win32
 //
 // UNSUPPORTED: target={{i.86.*windows.*}}
+// FIXME: Re-enable the test on powerpc.
+// UNSUPPORTED: powerpc-registered-target
 
 // RUN: rm -rf %t && split-file %s %t && cd %t
 
diff --git a/llvm/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll b/llvm/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll
index d2f4696ccf41d7..8ed989a85b1ee9 100644
--- a/llvm/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll
+++ b/llvm/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll
@@ -9,6 +9,8 @@
 ; The raw profiles storesd compressed function names, so profile reader should
 ; be built with zlib support to decompress them.
 ; REQUIRES: zlib
+; FIXME: Re-enable the test on powerpc.
+; UNSUPPORTED: powerpc-registered-target
 
 ; RUN: rm -rf %t && split-file %s %t && cd %t
 



More information about the llvm-commits mailing list