summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-01-11 22:15:05 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-01-11 22:15:05 +0000
commite4b0231c63d40408d06ff4c3669ded4b4ecaaa85 (patch)
tree9e89f032c39da53ab74bd3d38a87264e2b5ceaa4 /llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll
parente97654b2f28072ad9123006c05e03efd82852982 (diff)
downloadbcm5719-llvm-e4b0231c63d40408d06ff4c3669ded4b4ecaaa85.tar.gz
bcm5719-llvm-e4b0231c63d40408d06ff4c3669ded4b4ecaaa85.zip
Make internal/private GVs implicitly dso_local.
While updating clang tests for having clang set dso_local I noticed that: - There are *a lot* of tests to update. - Many of the updates are redundant. They are redundant because a GV is "obviously dso_local". This patch starts formalizing that a bit by requiring that internal and private GVs be dso_local too. Since they all are, we don't have to print dso_local to the textual representation, making it a bit more compact and easier to read. llvm-svn: 322317
Diffstat (limited to 'llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll')
-rw-r--r--llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll b/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll
index 6d18c4f6f65..a36221c5f90 100644
--- a/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll
+++ b/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll
@@ -12,8 +12,8 @@
; BCA0: <GLOBALVAL_SUMMARY_BLOCK
; BCA1-NOT: <GLOBALVAL_SUMMARY_BLOCK
-; M0: @"g$581d7631532fa146ba4061179da39272" = external hidden global i8{{$}}
-; M1: @"g$581d7631532fa146ba4061179da39272" = hidden global i8 42, !type !0
+; M0: @"g$581d7631532fa146ba4061179da39272" = external dso_local hidden global i8{{$}}
+; M1: @"g$581d7631532fa146ba4061179da39272" = dso_local hidden global i8 42, !type !0
@g = internal global i8 42, !type !0
; M0: define i8* @f()
OpenPOWER on IntegriCloud