Mercurial > hg > CbC > CbC_llvm
comparison test/Transforms/PGOProfile/diag_FE_profile.ll @ 120:1172e4bd9c6f
update 4.0.0
author | mir3636 |
---|---|
date | Fri, 25 Nov 2016 19:14:25 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
101:34baf5011add | 120:1172e4bd9c6f |
---|---|
1 ; RUN: llvm-profdata merge %S/Inputs/diag_FE.proftext -o %t.profdata | |
2 ; RUN: not opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s | |
3 ; RUN: not opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s | |
4 | |
5 ; CHECK: Not an IR level instrumentation profile | |
6 | |
7 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" | |
8 target triple = "x86_64-unknown-linux-gnu" | |
9 | |
10 define i32 @foo() { | |
11 entry: | |
12 ret i32 0 | |
13 } |