diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2017-01-07 20:24:23 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2017-01-07 20:24:23 +0000 |
commit | d5549f3dacea43baedb09f874763141bd3ac24e6 (patch) | |
tree | b58ebbd9d7612fa8bf7a7e5469ccfe215fab3448 /llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp | |
parent | ec85fc5eac04171da9dd70dc6b391b02e87ee66c (diff) | |
download | bcm5719-llvm-d5549f3dacea43baedb09f874763141bd3ac24e6.tar.gz bcm5719-llvm-d5549f3dacea43baedb09f874763141bd3ac24e6.zip |
[ThinLTO] Fix assertions on lazy-loading of Metadata TBAA attachments
Summary:
The issue happens with:
%0 = ....., !tbaa !0
%1 = ....., !tbaa !1
With !0 that references !1.
In this case when loading !0 we generates a temporary for the
operand !1. We now flush it immediately and trigger the load of
!1 before moving on. If we don't we get the temporary when
attaching to %1. This is usually not an issue except that we
eagerly try to update TBAA MDNodes, which is obviously not possible
if we only have a temporary.
Differential Revision: https://reviews.llvm.org/D28423
llvm-svn: 291362
Diffstat (limited to 'llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions