summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
diff options
context:
space:
mode:
authorCharles Saternos <charles.saternos@gmail.com>2017-08-04 16:00:58 +0000
committerCharles Saternos <charles.saternos@gmail.com>2017-08-04 16:00:58 +0000
commit75da10d1b2db41f6789846ff499e2842cfe5de8e (patch)
tree18a69ad82b41d393cd3766c85cbb2a6c25b049f0 /llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
parent79e7f6b3e394ad2f3b58581085847b4bb11fdc75 (diff)
downloadbcm5719-llvm-75da10d1b2db41f6789846ff499e2842cfe5de8e.tar.gz
bcm5719-llvm-75da10d1b2db41f6789846ff499e2842cfe5de8e.zip
[ThinLTO] Add FunctionAttrs to ThinLTO index
Adds function attributes to index: ReadNone, ReadOnly, NoRecurse, NoAlias. This attributes will be used for future ThinLTO optimizations that will propagate function attributes across modules. llvm-svn: 310061
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll')
-rw-r--r--llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll b/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
index ef5fb36d8e0..9376e801765 100644
--- a/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
+++ b/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
@@ -17,7 +17,7 @@
; CHECK: <GLOBALVAL_SUMMARY_BLOCK
; CHECK-NEXT: <VERSION
; See if the call to func is registered, using the expected hotness type.
-; CHECK-NEXT: <PERMODULE_PROFILE {{.*}} op4=1 op5=2/>
+; CHECK-NEXT: <PERMODULE_PROFILE {{.*}} op5=1 op6=2/>
; CHECK-NEXT: </GLOBALVAL_SUMMARY_BLOCK>
; CHECK: <STRTAB_BLOCK
; CHECK-NEXT: blob data = 'mainfunc{{.*}}'
@@ -29,7 +29,7 @@
; COMBINED-NEXT: <COMBINED
; See if the call to func is registered, using the expected hotness type.
; op6=2 which is hotnessType::None.
-; COMBINED-NEXT: <COMBINED_PROFILE {{.*}} op5=[[FUNCID]] op6=2/>
+; COMBINED-NEXT: <COMBINED_PROFILE {{.*}} op6=[[FUNCID]] op7=2/>
; COMBINED-NEXT: </GLOBALVAL_SUMMARY_BLOCK>
; ModuleID = 'thinlto-function-summary-callgraph.ll'
OpenPOWER on IntegriCloud