summaryrefslogtreecommitdiff
path: root/test/CodeGen/pgo-sample-thinlto-summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/pgo-sample-thinlto-summary.c')
-rw-r--r--test/CodeGen/pgo-sample-thinlto-summary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/pgo-sample-thinlto-summary.c b/test/CodeGen/pgo-sample-thinlto-summary.c
index a284af3c80877..7782aeb76616d 100644
--- a/test/CodeGen/pgo-sample-thinlto-summary.c
+++ b/test/CodeGen/pgo-sample-thinlto-summary.c
@@ -32,10 +32,10 @@ void unroll() {
baz(i);
}
-// Checks if icp is invoked by normal compile, but not thinlto compile.
+// Check that icp is not invoked (both -O2 and ThinLTO).
// O2-LABEL: define void @icp
// THINLTO-LABEL: define void @icp
-// O2: if.true.direct_targ
+// O2-NOT: if.true.direct_targ
// ThinLTO-NOT: if.true.direct_targ
void icp(void (*p)()) {
p();