diff options
| author | Xinliang David Li <davidxl@google.com> | 2016-05-10 23:37:19 +0000 |
|---|---|---|
| committer | Xinliang David Li <davidxl@google.com> | 2016-05-10 23:37:19 +0000 |
| commit | 864baf4abda77437f31ad499f1c028a3bc0ca91b (patch) | |
| tree | dbf6df74f2e9ac119f808b5d2ae7ca15b303ccbb | |
| parent | 9b792923d0188c73e9612eb1d964414ae1e139c5 (diff) | |
| download | bcm5719-llvm-864baf4abda77437f31ad499f1c028a3bc0ca91b.tar.gz bcm5719-llvm-864baf4abda77437f31ad499f1c028a3bc0ca91b.zip | |
Add missing tests for new PM
llvm-svn: 269139
| -rw-r--r-- | llvm/test/Instrumentation/InstrProfiling/PR23499.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Instrumentation/InstrProfiling/platform.ll | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Instrumentation/InstrProfiling/PR23499.ll b/llvm/test/Instrumentation/InstrProfiling/PR23499.ll index ab90c9fce14..ef8799c4449 100644 --- a/llvm/test/Instrumentation/InstrProfiling/PR23499.ll +++ b/llvm/test/Instrumentation/InstrProfiling/PR23499.ll @@ -3,9 +3,11 @@ ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.10.0 -instrprof -S | FileCheck %s +; RUN: opt < %s -mtriple=x86_64-apple-macosx10.10.0 -passes=instrprof -S | FileCheck %s ; RUN: opt < %s -mtriple=x86_64-unknown-linux -instrprof -S | FileCheck %s ; RUN: opt < %s -mtriple=x86_64-unknown-linux -passes=instrprof -S | FileCheck %s ; RUN: opt < %s -mtriple=x86_64-pc-win32-coff -instrprof -S | FileCheck %s --check-prefix=COFF +; RUN: opt < %s -mtriple=x86_64-pc-win32-coff -passes=instrprof -S | FileCheck %s --check-prefix=COFF $_Z3barIvEvv = comdat any diff --git a/llvm/test/Instrumentation/InstrProfiling/platform.ll b/llvm/test/Instrumentation/InstrProfiling/platform.ll index 4a95da5b240..8dc87d5ba27 100644 --- a/llvm/test/Instrumentation/InstrProfiling/platform.ll +++ b/llvm/test/Instrumentation/InstrProfiling/platform.ll @@ -1,11 +1,15 @@ ;; Checks for platform specific section names and initialization code. ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.10.0 -instrprof -S | FileCheck %s -check-prefix=MACHO +; RUN: opt < %s -mtriple=x86_64-apple-macosx10.10.0 -passes=instrprof -S | FileCheck %s -check-prefix=MACHO ; RUN: opt < %s -mtriple=x86_64-unknown-linux -instrprof -S | FileCheck %s -check-prefix=LINUX ; RUN: opt < %s -mtriple=x86_64-unknown-linux -passes=instrprof -S | FileCheck %s -check-prefix=LINUX ; RUN: opt < %s -mtriple=x86_64-unknown-freebsd -instrprof -S | FileCheck %s -check-prefix=FREEBSD +; RUN: opt < %s -mtriple=x86_64-unknown-freebsd -passes=instrprof -S | FileCheck %s -check-prefix=FREEBSD ; RUN: opt < %s -mtriple=x86_64-scei-ps4 -instrprof -S | FileCheck %s -check-prefix=PS4 +; RUN: opt < %s -mtriple=x86_64-scei-ps4 -passes=instrprof -S | FileCheck %s -check-prefix=PS4 ; RUN: opt < %s -mtriple=x86_64-pc-solaris -instrprof -S | FileCheck %s -check-prefix=SOLARIS +; RUN: opt < %s -mtriple=x86_64-pc-solaris -passes=instrprof -S | FileCheck %s -check-prefix=SOLARIS @__profn_foo = hidden constant [3 x i8] c"foo" ; MACHO: @__profn_foo = private constant [3 x i8] c"foo" |

