[compiler-rt] r258913 - Fix a bug in test case (both ir, fe instr were turned on

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 23:42:41 PST 2016


Author: davidxl
Date: Wed Jan 27 01:42:41 2016
New Revision: 258913

URL: http://llvm.org/viewvc/llvm-project?rev=258913&view=rev
Log:
Fix a bug in test case (both ir,fe instr were turned on

Modified:
    compiler-rt/trunk/test/profile/instrprof-value-prof.test

Modified: compiler-rt/trunk/test/profile/instrprof-value-prof.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-value-prof.test?rev=258913&r1=258912&r2=258913&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/instrprof-value-prof.test (original)
+++ compiler-rt/trunk/test/profile/instrprof-value-prof.test Wed Jan 27 01:42:41 2016
@@ -4,8 +4,8 @@
 // RUN: llvm-profdata show --all-functions -ic-targets  %t.profdata | FileCheck  %S/Inputs/instrprof-value-prof-real.c
 
 // do two step build before the clang option is ready
-// RUN: %clang_profgen -O2 -mllvm -disable-vp=false -mllvm -profile-generate=%t.ir.profraw -c -o %t.ir.o  %S/Inputs/instrprof-value-prof-real.c
-// RUN: %clang_profgen -O2 -fprofile-instr-generate -o %t.ir  %t.ir.o
+// RUN: %clang -O2 -mllvm -disable-vp=false -mllvm -profile-generate=%t.ir.profraw -c -o %t.ir.o  %S/Inputs/instrprof-value-prof-real.c
+// RUN: %clang_profgen -O2 -o %t.ir  %t.ir.o
 // RUN: %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




More information about the llvm-commits mailing list