summaryrefslogtreecommitdiff
path: root/test/profile/instrprof-value-prof.test
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-07-19 22:12:00 +0000
committerXinliang David Li <davidxl@google.com>2016-07-19 22:12:00 +0000
commitc2512f9d99dd5effcfa1ba9790008a96ec8c36d1 (patch)
treedb44816e8b604830508a8db528b0e6752dfb6107 /test/profile/instrprof-value-prof.test
parent2de41ffcdbfdfa203897d28def292f0cc93ab5e9 (diff)
[Profile] Test cleanup -- use new lit var for IR PGO tests /NFC
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile/instrprof-value-prof.test')
-rw-r--r--test/profile/instrprof-value-prof.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/profile/instrprof-value-prof.test b/test/profile/instrprof-value-prof.test
index 8e7f513d2..02038990b 100644
--- a/test/profile/instrprof-value-prof.test
+++ b/test/profile/instrprof-value-prof.test
@@ -4,7 +4,7 @@
// RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c
// IR level instrumentation
-// RUN: %clang_profgen -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -o %t.ir %S/Inputs/instrprof-value-prof-real.c
+// RUN: %clang_pgogen -O2 -mllvm -disable-vp=false -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -o %t.ir %S/Inputs/instrprof-value-prof-real.c
// RUN: env LLVM_PROFILE_FILE=%t.ir.profraw LLVM_VP_MAX_NUM_VALS_PER_SITE=255 %run %t.ir
// RUN: llvm-profdata merge -o %t.ir.profdata %t.ir.profraw
// RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c
@@ -12,7 +12,7 @@
// RUN: FileCheck %S/Inputs/instrprof-value-prof-real.c --check-prefix=IR < %t.ir.proftxt
// IR level instrumentation with dynamic memory allocation
-// RUN: %clang_profgen -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-static-alloc=false -mllvm -vp-counters-per-site=256 -o %t.ir.dyn %S/Inputs/instrprof-value-prof-real.c
+// RUN: %clang_pgogen -O2 -mllvm -disable-vp=false -mllvm -vp-static-alloc=false -mllvm -vp-counters-per-site=256 -o %t.ir.dyn %S/Inputs/instrprof-value-prof-real.c
// RUN: env LLVM_PROFILE_FILE=%t.ir.dyn.profraw %run %t.ir.dyn
// RUN: llvm-profdata merge -o %t.ir.dyn.profdata %t.ir.dyn.profraw
// RUN: llvm-profdata show --all-functions -ic-targets %t.ir.dyn.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c