summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-12-11 20:23:22 +0000
committerXinliang David Li <davidxl@google.com>2015-12-11 20:23:22 +0000
commita86545b0b57b55722ba65a4493e313a72ac8d242 (patch)
tree39e02b2b5c37fcc07eb38de7830450f05181f944 /llvm/test
parente1769ef559a17017503077b10645994b1a9ca0c1 (diff)
downloadbcm5719-llvm-a86545b0b57b55722ba65a4493e313a72ac8d242.tar.gz
bcm5719-llvm-a86545b0b57b55722ba65a4493e313a72ac8d242.zip
[PGO] Revert r255365: solution incomplete, not handling lambda yet
llvm-svn: 255369
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/PGOProfile/Inputs/criticaledge.proftext2
-rw-r--r--llvm/test/Transforms/PGOProfile/criticaledge.ll4
-rw-r--r--llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4bin816 -> 0 bytes
-rw-r--r--llvm/test/tools/llvm-profdata/compat.proftext7
4 files changed, 3 insertions, 10 deletions
diff --git a/llvm/test/Transforms/PGOProfile/Inputs/criticaledge.proftext b/llvm/test/Transforms/PGOProfile/Inputs/criticaledge.proftext
index eb5eb16c6cc..f369ba7c350 100644
--- a/llvm/test/Transforms/PGOProfile/Inputs/criticaledge.proftext
+++ b/llvm/test/Transforms/PGOProfile/Inputs/criticaledge.proftext
@@ -10,7 +10,7 @@ test_criticalEdge
2
1
-<stdin>__bar
+<stdin>:bar
12884901887
1
7
diff --git a/llvm/test/Transforms/PGOProfile/criticaledge.ll b/llvm/test/Transforms/PGOProfile/criticaledge.ll
index 7e0a7fd5220..7898f3b9eb1 100644
--- a/llvm/test/Transforms/PGOProfile/criticaledge.ll
+++ b/llvm/test/Transforms/PGOProfile/criticaledge.ll
@@ -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_name_test_criticalEdge = private constant [17 x i8] c"test_criticalEdge"
-; GEN: @"__llvm_profile_name_<stdin>__bar" = private constant [12 x i8] c"<stdin>__bar"
+; GEN: @"__llvm_profile_name_<stdin>:bar" = private constant [11 x i8] c"<stdin>:bar"
define i32 @test_criticalEdge(i32 %i, i32 %j) {
entry:
@@ -99,7 +99,7 @@ return:
define internal i32 @bar(i32 %i) {
entry:
-; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @"__llvm_profile_name_<stdin>__bar", i32 0, i32 0), i64 12884901887, i32 1, i32 0)
+; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"__llvm_profile_name_<stdin>:bar", i32 0, i32 0), i64 12884901887, i32 1, i32 0)
ret i32 %i
}
diff --git a/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4 b/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4
deleted file mode 100644
index 1720c407282..00000000000
--- a/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4
+++ /dev/null
Binary files differ
diff --git a/llvm/test/tools/llvm-profdata/compat.proftext b/llvm/test/tools/llvm-profdata/compat.proftext
index 5bc6c9a7369..139202d162e 100644
--- a/llvm/test/tools/llvm-profdata/compat.proftext
+++ b/llvm/test/tools/llvm-profdata/compat.proftext
@@ -65,10 +65,3 @@ large_numbers
# FORMATV2-NEXT: Maximum internal block count: 1000000
-# RUN: llvm-profdata show %S/Inputs/compat.profdata.v4 -all-functions --counts | FileCheck %s -check-prefix=FORMATV4
-# FORMATV4: instrprof.c__foo_static:
-# FORMATV4-NEXT: Hash: 0x000000000000000a
-# FORMATV4-NEXT: Counters: 2
-# FORMATV4-NEXT: Function count: 500500
-# FORMATV4-NEXT: Block counts: [180100]
-
OpenPOWER on IntegriCloud