summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-09-11 22:49:10 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-09-11 22:49:10 +0000
commitb9b60253281e5ddd90c7be033099e6d78e94c30e (patch)
treec0fdbb35cfcfff9e6cb0fb0eb6711979f87015de /llvm/lib/LTO
parentb15a35e604fa34e8730730b6e7cc7b400be1f0ad (diff)
downloadbcm5719-llvm-b9b60253281e5ddd90c7be033099e6d78e94c30e.tar.gz
bcm5719-llvm-b9b60253281e5ddd90c7be033099e6d78e94c30e.zip
LowerTypeTests: Add import/export support for targets without absolute symbol constants.
The rationale is the same as for r312967. Differential Revision: https://reviews.llvm.org/D37408 llvm-svn: 312968
Diffstat (limited to 'llvm/lib/LTO')
-rw-r--r--llvm/lib/LTO/LTO.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index a13170cf8ad..fad6d5ca006 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -217,6 +217,11 @@ static void computeCacheKey(
AddUnsigned(S.TTRes.TheKind);
AddUnsigned(S.TTRes.SizeM1BitWidth);
+ AddUint64(S.TTRes.AlignLog2);
+ AddUint64(S.TTRes.SizeM1);
+ AddUint64(S.TTRes.BitMask);
+ AddUint64(S.TTRes.InlineBits);
+
AddUint64(S.WPDRes.size());
for (auto &WPD : S.WPDRes) {
AddUnsigned(WPD.first);
OpenPOWER on IntegriCloud