summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2018-01-24 18:15:29 +0000
committerEaswaran Raman <eraman@google.com>2018-01-24 18:15:29 +0000
commitbf38deef3f1186733f35e06a5cae329ddf5e9650 (patch)
treec967f8dee020fa773c2e3f8f4443643019d6a10d /llvm/test/Bitcode
parent052f14ef5a662b58d6db4acfae253252bcb6bdcd (diff)
downloadbcm5719-llvm-bf38deef3f1186733f35e06a5cae329ddf5e9650.tar.gz
bcm5719-llvm-bf38deef3f1186733f35e06a5cae329ddf5e9650.zip
Revert "[ThinLTO] Add call edges' relative block frequency to per-module summary."
Causes buildbot regressions. llvm-svn: 323358
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r--llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll35
1 files changed, 0 insertions, 35 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll b/llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll
deleted file mode 100644
index 779acada520..00000000000
--- a/llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll
+++ /dev/null
@@ -1,35 +0,0 @@
-; Test to check the callgraph in summary
-; RUN: opt -write-relbf-to-summary -module-summary %s -o %t.o
-; RUN: llvm-bcanalyzer -dump %t.o | FileCheck %s
-
-
-; CHECK: <SOURCE_FILENAME
-; CHECK-NEXT: <GLOBALVAR
-; CHECK-NEXT: <FUNCTION
-; "func"
-; CHECK-NEXT: <FUNCTION op0=17 op1=4
-; CHECK: <GLOBALVAL_SUMMARY_BLOCK
-; CHECK-NEXT: <VERSION
-; See if the call to func is registered.
-; CHECK-NEXT: <PERMODULE_RELBF {{.*}} op4=1 {{.*}} op7=1
-; CHECK-NEXT: </GLOBALVAL_SUMMARY_BLOCK>
-; CHECK: <STRTAB_BLOCK
-; CHECK-NEXT: blob data = 'undefinedglobmainfunc{{.*}}'
-
-
-; ModuleID = 'thinlto-function-summary-callgraph.ll'
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
-; Function Attrs: nounwind uwtable
-define i32 @main() #0 {
-entry:
- call void (...) @func()
- %u = load i32, i32* @undefinedglob
- ret i32 %u
-}
-
-declare void @func(...) #1
-@undefinedglob = external global i32
-
-; OLD: Index {{.*}} contains 1 nodes (1 functions, 0 alias, 0 globals) and 1 edges (0 refs and 1 calls)
OpenPOWER on IntegriCloud