[compiler-rt] r357462 - Fix tests after r357452
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 2 03:06:40 PDT 2019
Author: hans
Date: Tue Apr 2 03:06:39 2019
New Revision: 357462
URL: http://llvm.org/viewvc/llvm-project?rev=357462&view=rev
Log:
Fix tests after r357452
Modified:
compiler-rt/trunk/test/profile/Linux/counter_promo_for.c
compiler-rt/trunk/test/profile/Linux/counter_promo_while.c
Modified: compiler-rt/trunk/test/profile/Linux/counter_promo_for.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Linux/counter_promo_for.c?rev=357462&r1=357461&r2=357462&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Linux/counter_promo_for.c (original)
+++ compiler-rt/trunk/test/profile/Linux/counter_promo_for.c Tue Apr 2 03:06:39 2019
@@ -6,8 +6,8 @@
// RUN: %run %t.promo.gen
// RUN: llvm-profdata merge -o %t.promo.profdata %t.promo.prof/
// RUN: llvm-profdata show --counts --all-functions %t.promo.profdata > %t.promo.dump
-// RUN: %clang_pgogen=%t.nopromo.prof/ -mllvm -do-counter-promotion=false -o %t.nopromo.gen -O2 %s
-// RUN: %clang_pgogen=%t.nopromo.prof/ -mllvm -do-counter-promotion=false -o %t.nopromo.gen.ll -emit-llvm -S -O2 %s
+// RUN: %clang_pgogen=%t.nopromo.prof/ -mllvm -do-counter-promotion=false -mllvm -simplifycfg-sink-common=false -o %t.nopromo.gen -O2 %s
+// RUN: %clang_pgogen=%t.nopromo.prof/ -mllvm -do-counter-promotion=false -mllvm -simplifycfg-sink-common=false -o %t.nopromo.gen.ll -emit-llvm -S -O2 %s
// RUN: cat %t.nopromo.gen.ll | FileCheck --check-prefix=NOPROMO %s
// RUN: %run %t.nopromo.gen
// RUN: llvm-profdata merge -o %t.nopromo.profdata %t.nopromo.prof/
Modified: compiler-rt/trunk/test/profile/Linux/counter_promo_while.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Linux/counter_promo_while.c?rev=357462&r1=357461&r2=357462&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Linux/counter_promo_while.c (original)
+++ compiler-rt/trunk/test/profile/Linux/counter_promo_while.c Tue Apr 2 03:06:39 2019
@@ -6,8 +6,8 @@
// RUN: %run %t.promo.gen
// RUN: llvm-profdata merge -o %t.promo.profdata %t.promo.prof/
// RUN: llvm-profdata show --counts --all-functions %t.promo.profdata > %t.promo.dump
-// RUN: %clang_pgogen=%t.nopromo.prof/ -mllvm -do-counter-promotion=false -o %t.nopromo.gen -O2 %s
-// RUN: %clang_pgogen=%t.nopromo.prof/ -mllvm -do-counter-promotion=false -o %t.nopromo.gen.ll -emit-llvm -S -O2 %s
+// RUN: %clang_pgogen=%t.nopromo.prof/ -mllvm -do-counter-promotion=false -mllvm -simplifycfg-sink-common=false -o %t.nopromo.gen -O2 %s
+// RUN: %clang_pgogen=%t.nopromo.prof/ -mllvm -do-counter-promotion=false -mllvm -simplifycfg-sink-common=false -o %t.nopromo.gen.ll -emit-llvm -S -O2 %s
// RUN: cat %t.nopromo.gen.ll | FileCheck --check-prefix=NOPROMO %s
// RUN: %run %t.nopromo.gen
// RUN: llvm-profdata merge -o %t.nopromo.profdata %t.nopromo.prof/
More information about the llvm-commits
mailing list