diff options
| author | Adam Nemet <anemet@apple.com> | 2017-12-01 19:59:37 +0000 |
|---|---|---|
| committer | Adam Nemet <anemet@apple.com> | 2017-12-01 19:59:37 +0000 |
| commit | 67be3529f24be093baacfa589619963b7c079644 (patch) | |
| tree | 5c7b7eee72ac65f754a385830db285658c870b16 /clang/test/Frontend | |
| parent | d45054dbd2dd051bd72a48fef137d48c4ca06588 (diff) | |
| download | bcm5719-llvm-67be3529f24be093baacfa589619963b7c079644.tar.gz bcm5719-llvm-67be3529f24be093baacfa589619963b7c079644.zip | |
Partially fix comment in test broken in r306079 and r306948
A RUN line was referring to the previous RUN line but a new test was added in
between them. Just reorder the lines.
Note this still does not completely fix this the brokenness of the comment as
the driver-based test gained a new hotness-threshold argument in r306948 but
I'll fix that is a separate commit.
llvm-svn: 319576
Diffstat (limited to 'clang/test/Frontend')
| -rw-r--r-- | clang/test/Frontend/optimization-remark-with-hotness.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Frontend/optimization-remark-with-hotness.c b/clang/test/Frontend/optimization-remark-with-hotness.c index 5e31ce9f2b2..06e1b8af363 100644 --- a/clang/test/Frontend/optimization-remark-with-hotness.c +++ b/clang/test/Frontend/optimization-remark-with-hotness.c @@ -11,12 +11,6 @@ // RUN: -fprofile-instrument-use-path=%t.profdata -Rpass=inline \ // RUN: -Rpass-analysis=inline -Rpass-missed=inline \ // RUN: -fdiagnostics-show-hotness -verify -// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name \ -// RUN: optimization-remark-with-hotness.c %s -emit-llvm-only \ -// RUN: -fprofile-sample-use=%t-sample.profdata -Rpass=inline \ -// RUN: -Rpass-analysis=inline -Rpass-missed=inline \ -// RUN: -fdiagnostics-show-hotness -fdiagnostics-hotness-threshold=10 \ -// RUN: -verify // The clang version of the previous test. // RUN: %clang -target x86_64-apple-macosx10.9 %s -c -emit-llvm -o /dev/null \ // RUN: -fprofile-instr-use=%t.profdata -Rpass=inline \ @@ -25,6 +19,12 @@ // RUN: -Xclang -verify // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name \ // RUN: optimization-remark-with-hotness.c %s -emit-llvm-only \ +// RUN: -fprofile-sample-use=%t-sample.profdata -Rpass=inline \ +// RUN: -Rpass-analysis=inline -Rpass-missed=inline \ +// RUN: -fdiagnostics-show-hotness -fdiagnostics-hotness-threshold=10 \ +// RUN: -verify +// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name \ +// RUN: optimization-remark-with-hotness.c %s -emit-llvm-only \ // RUN: -fprofile-instrument-use-path=%t.profdata -Rpass=inline \ // RUN: -Rpass-analysis=inline 2>&1 | FileCheck -check-prefix=HOTNESS_OFF %s // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name \ |

