Skip to content

Commit

Permalink
Update test for enabling ICP for AutoFDO.
Browse files Browse the repository at this point in the history
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

llvm-svn: 306430
  • Loading branch information
danielcdh committed Jun 27, 2017
1 parent 6613166 commit bc8c7dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/CodeGen/pgo-sample-thinlto-summary.c
Expand Up @@ -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();
Expand Down

0 comments on commit bc8c7dc

Please sign in to comment.