[compiler-rt] 31260a4 - [profile] Disable test which needs update after D141512

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 14:57:15 PST 2023


Author: Vitaly Buka
Date: 2023-01-23T14:57:01-08:00
New Revision: 31260a4ce43aab7c04f501095a9032de063ccaf9

URL: https://github.com/llvm/llvm-project/commit/31260a4ce43aab7c04f501095a9032de063ccaf9
DIFF: https://github.com/llvm/llvm-project/commit/31260a4ce43aab7c04f501095a9032de063ccaf9.diff

LOG: [profile] Disable test which needs update after D141512

Added: 
    

Modified: 
    compiler-rt/test/profile/Linux/counter_promo_for.c
    compiler-rt/test/profile/Linux/counter_promo_while.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/profile/Linux/counter_promo_for.c b/compiler-rt/test/profile/Linux/counter_promo_for.c
index a63b645359593..5293f50ce20a0 100644
--- a/compiler-rt/test/profile/Linux/counter_promo_for.c
+++ b/compiler-rt/test/profile/Linux/counter_promo_for.c
@@ -14,6 +14,9 @@
 // RUN: llvm-profdata show --counts --all-functions %t.nopromo.profdata  > %t.nopromo.dump
 // RUN: 
diff  <(llvm-profdata show %t.promo.profdata) <(llvm-profdata show %t.nopromo.profdata)
 
+// FIXME: broken after D141512
+// XFAIL: i386-linux
+
 int g;
 __attribute__((noinline)) void bar(int i) { g += i; }
 

diff  --git a/compiler-rt/test/profile/Linux/counter_promo_while.c b/compiler-rt/test/profile/Linux/counter_promo_while.c
index b9ca5a55f9d54..7b6d9a6c4d262 100644
--- a/compiler-rt/test/profile/Linux/counter_promo_while.c
+++ b/compiler-rt/test/profile/Linux/counter_promo_while.c
@@ -13,6 +13,10 @@
 // RUN: llvm-profdata merge -o %t.nopromo.profdata %t.nopromo.prof/
 // RUN: llvm-profdata show --counts --all-functions %t.nopromo.profdata  > %t.nopromo.dump
 // RUN: 
diff  <(llvm-profdata show %t.promo.profdata) <(llvm-profdata show %t.nopromo.profdata)
+
+// FIXME: broken after D141512
+// XFAIL: i386-linux
+
 int g;
 __attribute__((noinline)) void bar(int i) { g += i; }
 __attribute__((noinline)) void foo(int n, int N) {


        


More information about the llvm-commits mailing list