summaryrefslogtreecommitdiff
path: root/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2018-11-10 08:31:21 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2018-11-10 08:31:21 +0000
commitbe8d19967aeae0eba3b82c0ec808b441327189c8 (patch)
tree242e575b70608bf6000b8555863c2c7a310d4e17 /llvm/test/Bitcode/thinlto-function-summary-callgraph.ll
parent825f9d3e268ce39d057f6d3772a23de6fe407f0d (diff)
[ThinLTO] Internalize readonly globals
This patch allows internalising globals if all accesses to them (from live functions) are from non-volatile load instructions Differential revision: https://reviews.llvm.org/D49362 llvm-svn: 346584
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary-callgraph.ll')
-rw-r--r--llvm/test/Bitcode/thinlto-function-summary-callgraph.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll b/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll
index 8025eee5929b..ca6ed433f7b9 100644
--- a/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll
+++ b/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll
@@ -17,7 +17,7 @@
; CHECK-NEXT: <FUNCTION op0=17 op1=4
; CHECK: <GLOBALVAL_SUMMARY_BLOCK
; CHECK-NEXT: <VERSION
-; See if the call to func is registered.
+; See if the call to func is registered
; CHECK-NEXT: <PERMODULE {{.*}} op4=1
; CHECK-NEXT: </GLOBALVAL_SUMMARY_BLOCK>
; CHECK: <STRTAB_BLOCK
@@ -33,7 +33,7 @@
; COMBINED-NEXT: <VALUE_GUID
; COMBINED-NEXT: <COMBINED
; See if the call to func is registered.
-; COMBINED-NEXT: <COMBINED {{.*}} op6=[[FUNCID]]/>
+; COMBINED-NEXT: <COMBINED {{.*}} op7=[[FUNCID]]/>
; COMBINED-NEXT: </GLOBALVAL_SUMMARY_BLOCK>
; ModuleID = 'thinlto-function-summary-callgraph.ll'