summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSean Fertile <sfertile@ca.ibm.com>2017-11-04 01:54:20 +0000
committerSean Fertile <sfertile@ca.ibm.com>2017-11-04 01:54:20 +0000
commit39770ca0a11c4cd19c38f51a1ffda6b07ab8b90d (patch)
tree5e73a5c00a4ff53e5f2e538df9b350bbeca17d6a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent73cf9241049f0444d62b4cc9c4648cc7ae4bfd3d (diff)
downloadbcm5719-llvm-39770ca0a11c4cd19c38f51a1ffda6b07ab8b90d.tar.gz
bcm5719-llvm-39770ca0a11c4cd19c38f51a1ffda6b07ab8b90d.zip
Revert "[LTO][ThinLTO] Use the linker resolutions to mark global values ..."
Changes more tests then expected on one of the build bots. reverting to investigate. This reverts https://llvm.org/svn/llvm-project/llvm/trunk@317374 llvm-svn: 317395
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index d0f11db8f61..c2272260f44 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -889,9 +889,7 @@ static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags,
// to work correctly on earlier versions, we must conservatively treat all
// values as live.
bool Live = (RawFlags & 0x2) || Version < 3;
- bool Local = (RawFlags & 0x4);
-
- return GlobalValueSummary::GVFlags(Linkage, NotEligibleToImport, Live, Local);
+ return GlobalValueSummary::GVFlags(Linkage, NotEligibleToImport, Live);
}
static GlobalValue::VisibilityTypes getDecodedVisibility(unsigned Val) {
OpenPOWER on IntegriCloud