llvm.org GIT mirror llvm / d7f2f9e
[test/PGOProfile] Make tests independent of the raw profile version (NFC) Differential Revision: http://reviews.llvm.org/D19290 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266928 91177308-0d34-0410-b5e6-96231b3b80d8 Vedant Kumar 3 years ago
8 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
66 ; GEN-DARWIN-LINKONCE: target triple = "x86_64-apple-darwin"
77
88 ; GEN-COMDAT: $__llvm_profile_raw_version = comdat any
9 ; GEN-COMDAT: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
10 ; GEN-LINKONCE: @__llvm_profile_raw_version = linkonce constant i64 72057594037927939
9 ; GEN-COMDAT: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
10 ; GEN-LINKONCE: @__llvm_profile_raw_version = linkonce constant i64 {{[0-9]+}}
1111 ; GEN: @__profn_test_br_1 = private constant [9 x i8] c"test_br_1"
1212
1313 define i32 @test_br_1(i32 %i) {
44 target triple = "x86_64-unknown-linux-gnu"
55
66 ; GEN: $__llvm_profile_raw_version = comdat any
7 ; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
7 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
88 ; GEN: @__profn_test_br_2 = private constant [9 x i8] c"test_br_2"
99
1010 define i32 @test_br_2(i32 %i) {
44 target triple = "x86_64-unknown-linux-gnu"
55
66 ; GEN: $__llvm_profile_raw_version = comdat any
7 ; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
7 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
88 ; GEN: @__profn_test_criticalEdge = private constant [17 x i8] c"test_criticalEdge"
99 ; GEN: @__profn__stdin__bar = private constant [11 x i8] c":bar"
1010
66 @val = global i32 0, align 4
77 @_ZTIi = external constant i8*
88 ; GEN: $__llvm_profile_raw_version = comdat any
9 ; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
9 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
1010 ; GEN: @__profn_bar = private constant [3 x i8] c"bar"
1111 ; GEN: @__profn_foo = private constant [3 x i8] c"foo"
1212
44 target triple = "x86_64-unknown-linux-gnu"
55
66 ; GEN: $__llvm_profile_raw_version = comdat any
7 ; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
7 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
88 ; GEN: @__profn_test_simple_for = private constant [15 x i8] c"test_simple_for"
99
1010 define i32 @test_simple_for(i32 %n) {
44 target triple = "x86_64-unknown-linux-gnu"
55
66 ; GEN: $__llvm_profile_raw_version = comdat any
7 ; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
7 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
88 ; GEN: @__profn_test_nested_for = private constant [15 x i8] c"test_nested_for"
99
1010 define i32 @test_nested_for(i32 %r, i32 %s) {
22 target triple = "x86_64-unknown-linux-gnu"
33
44 ; GEN: $__llvm_profile_raw_version = comdat any
5 ; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
5 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
66 ; GEN: @__profn_single_bb = private constant [9 x i8] c"single_bb"
77
88 define i32 @single_bb() {
44 target triple = "x86_64-unknown-linux-gnu"
55
66 ; GEN: $__llvm_profile_raw_version = comdat any
7 ; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
7 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
88 ; GEN: @__profn_test_switch = private constant [11 x i8] c"test_switch"
99
1010 define void @test_switch(i32 %i) {