summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputSection.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-10-01 22:19:28 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-10-01 22:19:28 +0000
commitc013399197def0dbf119a0a7e9a146f8b54368cc (patch)
treea9979078b04069707d094f0c9ec8742d15340bd5 /lld/ELF/InputSection.cpp
parent59a500498454d8af6d98b9508ad8adcc9793cbfa (diff)
downloadbcm5719-llvm-c013399197def0dbf119a0a7e9a146f8b54368cc.tar.gz
bcm5719-llvm-c013399197def0dbf119a0a7e9a146f8b54368cc.zip
[ScopDetect] Do not add loads out of the SCoP to required invariant loads.
Loads before the SCoP are always invariant within the SCoP and therefore are no "required invariant loads". An assertion failes in ScopBuilder when it finds such an invariant load. Fix by not adding such loads to the required invariant load list. This likely will cause the region to be not considered a valid SCoP. We may want to unconditionally accept instructions defined before the region as valid invariant conditions instead of rejecting them. This fixes a compilation crash of SPEC CPU2006 453.povray's render.cpp. llvm-svn: 314636
Diffstat (limited to 'lld/ELF/InputSection.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud