mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[test/PGOProfile] Make tests independent of the raw profile version (NFC)
Differential Revision: http://reviews.llvm.org/D19290 llvm-svn: 266928
This commit is contained in:
parent
92582f2b18
commit
d3e6694129
@ -7,8 +7,8 @@ target triple = "x86_64-unknown-linux-gnu"
|
||||
; GEN-DARWIN-LINKONCE: target triple = "x86_64-apple-darwin"
|
||||
|
||||
; GEN-COMDAT: $__llvm_profile_raw_version = comdat any
|
||||
; GEN-COMDAT: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
|
||||
; GEN-LINKONCE: @__llvm_profile_raw_version = linkonce constant i64 72057594037927939
|
||||
; GEN-COMDAT: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
|
||||
; GEN-LINKONCE: @__llvm_profile_raw_version = linkonce constant i64 {{[0-9]+}}
|
||||
; GEN: @__profn_test_br_1 = private constant [9 x i8] c"test_br_1"
|
||||
|
||||
define i32 @test_br_1(i32 %i) {
|
||||
|
@ -5,7 +5,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
; GEN: $__llvm_profile_raw_version = comdat any
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
|
||||
; GEN: @__profn_test_br_2 = private constant [9 x i8] c"test_br_2"
|
||||
|
||||
define i32 @test_br_2(i32 %i) {
|
||||
|
@ -5,7 +5,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
; GEN: $__llvm_profile_raw_version = comdat any
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
|
||||
; GEN: @__profn_test_criticalEdge = private constant [17 x i8] c"test_criticalEdge"
|
||||
; GEN: @__profn__stdin__bar = private constant [11 x i8] c"<stdin>:bar"
|
||||
|
||||
|
@ -7,7 +7,7 @@ target triple = "x86_64-unknown-linux-gnu"
|
||||
@val = global i32 0, align 4
|
||||
@_ZTIi = external constant i8*
|
||||
; GEN: $__llvm_profile_raw_version = comdat any
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
|
||||
; GEN: @__profn_bar = private constant [3 x i8] c"bar"
|
||||
; GEN: @__profn_foo = private constant [3 x i8] c"foo"
|
||||
|
||||
|
@ -5,7 +5,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
; GEN: $__llvm_profile_raw_version = comdat any
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
|
||||
; GEN: @__profn_test_simple_for = private constant [15 x i8] c"test_simple_for"
|
||||
|
||||
define i32 @test_simple_for(i32 %n) {
|
||||
|
@ -5,7 +5,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
; GEN: $__llvm_profile_raw_version = comdat any
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
|
||||
; GEN: @__profn_test_nested_for = private constant [15 x i8] c"test_nested_for"
|
||||
|
||||
define i32 @test_nested_for(i32 %r, i32 %s) {
|
||||
|
@ -3,7 +3,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
; GEN: $__llvm_profile_raw_version = comdat any
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
|
||||
; GEN: @__profn_single_bb = private constant [9 x i8] c"single_bb"
|
||||
|
||||
define i32 @single_bb() {
|
||||
|
@ -5,7 +5,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
; GEN: $__llvm_profile_raw_version = comdat any
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 72057594037927939, comdat
|
||||
; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
|
||||
; GEN: @__profn_test_switch = private constant [11 x i8] c"test_switch"
|
||||
|
||||
define void @test_switch(i32 %i) {
|
||||
|
Loading…
Reference in New Issue
Block a user