]> granicus.if.org Git - clang/commitdiff
Update test for enabling ICP for AutoFDO.
authorDehao Chen <dehao@google.com>
Tue, 27 Jun 2017 17:23:42 +0000 (17:23 +0000)
committerDehao Chen <dehao@google.com>
Tue, 27 Jun 2017 17:23:42 +0000 (17:23 +0000)
Summary: This is the test update patch for https://reviews.llvm.org/D34662

Reviewers: davidxl

Reviewed By: davidxl

Subscribers: cfe-commits, sanjoy, mehdi_amini, eraman, llvm-commits

Differential Revision: https://reviews.llvm.org/D34663

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306430 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/pgo-sample-thinlto-summary.c

index 7782aeb76616de2a5af742fff165c1e3c9ca2647..65d2f0dd987cc4482703d1fac5f0d869b4b981b4 100644 (file)
@@ -32,10 +32,10 @@ void unroll() {
     baz(i);
 }
 
-// Check that icp is not invoked (both -O2 and ThinLTO).
+// Check that icp is not invoked for ThinLTO, but invoked for -O2.
 // O2-LABEL: define void @icp
 // THINLTO-LABEL: define void @icp
-// O2-NOT: if.true.direct_targ
+// O2: if.true.direct_targ
 // ThinLTO-NOT: if.true.direct_targ
 void icp(void (*p)()) {
   p();