diff options
| author | Rong Xu <xur@google.com> | 2016-05-10 17:45:33 +0000 |
|---|---|---|
| committer | Rong Xu <xur@google.com> | 2016-05-10 17:45:33 +0000 |
| commit | b6211a0b4f9a6f9a15b86a62594385771500c5d9 (patch) | |
| tree | 5b4fa48b06565ebcaecaa28203ef8d89cdb3cb24 /llvm/test/Transforms | |
| parent | 8179be4897db025dd7256bbee7c0d9e5794a2b34 (diff) | |
| download | bcm5719-llvm-b6211a0b4f9a6f9a15b86a62594385771500c5d9.tar.gz bcm5719-llvm-b6211a0b4f9a6f9a15b86a62594385771500c5d9.zip | |
[PGO] resubmit r268969
Put the test into a target specific directory.
llvm-svn: 269090
Diffstat (limited to 'llvm/test/Transforms')
| -rw-r--r-- | llvm/test/Transforms/PGOProfile/X86/lit.local.cfg | 3 | ||||
| -rw-r--r-- | llvm/test/Transforms/PGOProfile/X86/macho.ll | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg b/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg new file mode 100644 index 00000000000..e71f3cc4c41 --- /dev/null +++ b/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg @@ -0,0 +1,3 @@ +if not 'X86' in config.root.targets: + config.unsupported = True + diff --git a/llvm/test/Transforms/PGOProfile/X86/macho.ll b/llvm/test/Transforms/PGOProfile/X86/macho.ll new file mode 100644 index 00000000000..d2fe65f2fa7 --- /dev/null +++ b/llvm/test/Transforms/PGOProfile/X86/macho.ll @@ -0,0 +1,10 @@ +; RUN: opt < %s -pgo-instr-gen -instrprof -S | llc | FileCheck %s --check-prefix=MACHO-DIRECTIVE + +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" +target triple = "x86_64-apple-macosx10.11.0" + +; MACHO-DIRECTIVE: .weak_definition ___llvm_profile_raw_version +define i32 @test_macho(i32 %i) { +entry: + ret i32 %i +} |

