|
2 | 2 |
|
3 | 3 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.10.0 -passes=instrprof -S | FileCheck %s --check-prefixes=MACHO
|
4 | 4 | ; RUN: opt < %s -mtriple=x86_64 -passes=instrprof -S | FileCheck %s --check-prefix=ELF_GENERIC
|
5 |
| -; RUN: opt < %s -mtriple=x86_64-unknown-linux -passes=instrprof -S | FileCheck %s --check-prefixes=ELF |
6 |
| -; RUN: opt < %s -mtriple=x86_64-unknown-fuchsia -passes=instrprof -S | FileCheck %s --check-prefixes=ELF |
| 5 | +; RUN: opt < %s -mtriple=x86_64-unknown-linux -passes=instrprof -S | FileCheck %s --check-prefixes=ELF,ELFRT |
| 6 | +; RUN: opt < %s -mtriple=x86_64-unknown-fuchsia -passes=instrprof -S | FileCheck %s --check-prefixes=ELF,ELFRT |
| 7 | +; RUN: opt < %s -mtriple=x86_64-scei-ps4 -passes=instrprof -S | FileCheck %s --check-prefixes=ELF,PS |
| 8 | +; RUN: opt < %s -mtriple=x86_64-sie-ps5 -passes=instrprof -S | FileCheck %s --check-prefixes=ELF,PS |
7 | 9 | ; RUN: opt < %s -mtriple=x86_64-pc-win32-coff -passes=instrprof -S | FileCheck %s --check-prefixes=COFF
|
8 | 10 | ; RUN: opt < %s -mtriple=powerpc64-ibm-aix-xcoff -passes=instrprof -S | FileCheck %s --check-prefixes=XCOFF
|
9 | 11 |
|
@@ -104,8 +106,10 @@ declare void @llvm.instrprof.increment(i8*, i64, i32, i32)
|
104 | 106 | ; MACHO: ret i32 %[[REG]]
|
105 | 107 | ; MACHO: }
|
106 | 108 | ; COFF: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() {{.*}} comdat {
|
107 |
| -; ELF-NOT: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() {{.*}} { |
108 |
| -; ELF-NOT: %[[REG:.*]] = load i32, i32* @__llvm_profile_runtime |
| 109 | +; ELFRT-NOT: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() {{.*}} { |
| 110 | +; ELFRT-NOT: %[[REG:.*]] = load i32, i32* @__llvm_profile_runtime |
| 111 | +; PS: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() {{.*}} { |
| 112 | +; PS: %[[REG:.*]] = load i32, i32* @__llvm_profile_runtime |
109 | 113 | ; XCOFF: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() {{.*}} {
|
110 | 114 | ; XCOFF: %[[REG:.*]] = load i32, i32* @__llvm_profile_runtime
|
111 | 115 | ; XCOFF: ret i32 %[[REG]]
|
|
0 commit comments