diff options
| author | Charles Saternos <charles.saternos@gmail.com> | 2017-08-04 16:00:58 +0000 |
|---|---|---|
| committer | Charles Saternos <charles.saternos@gmail.com> | 2017-08-04 16:00:58 +0000 |
| commit | 75da10d1b2db41f6789846ff499e2842cfe5de8e (patch) | |
| tree | 18a69ad82b41d393cd3766c85cbb2a6c25b049f0 /llvm/test/Bitcode/thinlto-function-summary-callgraph.ll | |
| parent | 79e7f6b3e394ad2f3b58581085847b4bb11fdc75 (diff) | |
[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.ll')
| -rw-r--r-- | llvm/test/Bitcode/thinlto-function-summary-callgraph.ll | 4 |
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 749909badd95..1389710e18d0 100644 --- a/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll +++ b/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll @@ -18,7 +18,7 @@ ; CHECK: <GLOBALVAL_SUMMARY_BLOCK ; CHECK-NEXT: <VERSION ; See if the call to func is registered. -; CHECK-NEXT: <PERMODULE {{.*}} op3=1 +; CHECK-NEXT: <PERMODULE {{.*}} op4=1 ; CHECK-NEXT: </GLOBALVAL_SUMMARY_BLOCK> ; CHECK: <STRTAB_BLOCK ; CHECK-NEXT: blob data = 'undefinedglobmainfunc{{.*}}' @@ -32,7 +32,7 @@ ; COMBINED-NEXT: <VALUE_GUID ; COMBINED-NEXT: <COMBINED ; See if the call to func is registered. -; COMBINED-NEXT: <COMBINED {{.*}} op5=[[FUNCID]]/> +; COMBINED-NEXT: <COMBINED {{.*}} op6=[[FUNCID]]/> ; COMBINED-NEXT: </GLOBALVAL_SUMMARY_BLOCK> ; ModuleID = 'thinlto-function-summary-callgraph.ll' |
