Go to file
James Molloy 6110be9759 Re-apply r302416: [ARM] Clear the constant pool cache on explicit .ltorg directives
Re-applying now that PR32825 which was raised on the commit this fixed up is now known to have also been fixed by this commit.

Original commit message:
    Multiple ldr pseudoinstructions with the same constant value will
    reuse the same constant pool entry. However, if the constant pool
    is explicitly flushed with a .ltorg directive, we should not try
    to reference constants in the previous pool any longer, since they
    may be out of range.

    This fixes assembling hand-written assembler source which repeatedly
    loads the same constant value, across a binary size larger than the
    pc-relative fixup range for ldr instructions (4096 bytes). Such
    assembler source already uses explicit .ltorg instructions to emit
    constant pools with regular intervals. However if we try to reuse
    constants emitted in earlier pools, they end up out of range.

    This makes the output of the testcase match what binutils gas does
    (prior to this patch, it would fail to assemble).

    Differential Revision: https://reviews.llvm.org/D32847

llvm-svn: 303540
2017-05-22 09:42:07 +00:00
clang clang-format: Allow customizing the penalty for breaking assignment 2017-05-22 08:28:17 +00:00
clang-tools-extra [clangd] Make formatting.test asynchronous again. 2017-05-18 20:10:04 +00:00
compiler-rt [XRay][compiler-rt] Add __xray_remove_customevent_handler(...) 2017-05-22 03:23:54 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx [test] Add support for Objective-C++ tests 2017-05-19 23:02:49 +00:00
libcxxabi [libcxxabi] Fix the test case committed in r303175. 2017-05-16 18:18:03 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld Revert r303304: Re-submit r303225: Garbage collect dllimported symbols. 2017-05-22 06:01:37 +00:00
lldb Don't override the SDKs and force the use of /System/Library/Frameworks to 2017-05-19 23:00:42 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm Re-apply r302416: [ARM] Clear the constant pool cache on explicit .ltorg directives 2017-05-22 09:42:07 +00:00
openmp Fix for KMP_AFFINITY=respect with multiple processor groups 2017-05-15 19:05:59 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [CodeGen] Support partial write accesses. 2017-05-21 22:46:57 +00:00