diff options
author | Eugene Leviant <eleviant@accesssoftek.com> | 2018-11-10 08:31:21 +0000 |
---|---|---|
committer | Eugene Leviant <eleviant@accesssoftek.com> | 2018-11-10 08:31:21 +0000 |
commit | be8d19967aeae0eba3b82c0ec808b441327189c8 (patch) | |
tree | 242e575b70608bf6000b8555863c2c7a310d4e17 /llvm/test/Bitcode/thinlto-alias.ll | |
parent | 825f9d3e268ce39d057f6d3772a23de6fe407f0d (diff) | |
download | bcm5719-llvm-be8d19967aeae0eba3b82c0ec808b441327189c8.tar.gz bcm5719-llvm-be8d19967aeae0eba3b82c0ec808b441327189c8.zip |
[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-alias.ll')
-rw-r--r-- | llvm/test/Bitcode/thinlto-alias.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/thinlto-alias.ll b/llvm/test/Bitcode/thinlto-alias.ll index 05de932faee..6369a6c7e7f 100644 --- a/llvm/test/Bitcode/thinlto-alias.ll +++ b/llvm/test/Bitcode/thinlto-alias.ll @@ -20,7 +20,7 @@ ; CHECK-NEXT: <VERSION ; See if the call to func is registered. ; The value id 1 matches the second FUNCTION record above. -; CHECK-NEXT: <PERMODULE {{.*}} op5=1/> +; CHECK-NEXT: <PERMODULE {{.*}} op6=1/> ; CHECK-NEXT: </GLOBALVAL_SUMMARY_BLOCK> ; CHECK: <STRTAB_BLOCK @@ -33,7 +33,7 @@ ; COMBINED-NEXT: <VALUE_GUID op0=[[ALIASID:[0-9]+]] op1=-5751648690987223394/> ; COMBINED-NEXT: <VALUE_GUID ; COMBINED-NEXT: <VALUE_GUID op0=[[ALIASEEID:[0-9]+]] op1=-1039159065113703048/> -; COMBINED-NEXT: <COMBINED {{.*}} op6=[[ALIASID]]/> +; COMBINED-NEXT: <COMBINED {{.*}} op7=[[ALIASID]]/> ; COMBINED-NEXT: <COMBINED {{.*}} ; COMBINED-NEXT: <COMBINED_ALIAS {{.*}} op3=[[ALIASEEID]] ; COMBINED-NEXT: </GLOBALVAL_SUMMARY_BLOCK |