1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/test
Martin Storsjo bba254df79 [ARM] Clear the constant pool cache on explicit .ltorg directives
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: 302416
2017-05-08 10:26:24 +00:00
..
Analysis [X86][AVX1] Improve 256-bit vector costs for integer unary intrinsics. 2017-05-07 20:58:55 +00:00
Assembler Support arbitrary address space pointers in masked gather/scatter intrinsics. 2017-05-03 12:28:54 +00:00
Bindings
Bitcode AMDGPU: Add AMDGPU_HS calling convention 2017-05-02 15:41:10 +00:00
BugPoint
CodeGen [GlobalISel][X86] G_GEP selection support. 2017-05-08 09:40:43 +00:00
DebugInfo [llvm-dwarfdump] - Print an error message if section decompression failed. 2017-05-05 10:52:39 +00:00
Examples
ExecutionEngine
Feature Replace hardcoded intrinsic list with speculatable attribute. 2017-05-03 02:26:10 +00:00
FileCheck
Instrumentation [asan] Fix dead stripping of globals on Linux. 2017-04-27 20:27:27 +00:00
Integer
JitListener
LibDriver
Linker Remap metadata attached to global variables. 2017-05-04 23:29:39 +00:00
LTO LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00
MC [ARM] Clear the constant pool cache on explicit .ltorg directives 2017-05-08 10:26:24 +00:00
Object
ObjectYAML [WebAssembly] Add ObjectYAML support for wasm name section 2017-05-05 18:12:34 +00:00
Other [PM] Add ProfileSummaryAnalysis as a required pass in the new pipeline. 2017-05-04 16:58:45 +00:00
SymbolRewriter
TableGen [globalisel][tablegen] Fix the test after silencing the unused variable warning in r301755. 2017-04-29 19:46:27 +00:00
ThinLTO/X86 Remove line and file from DINamespace. 2017-04-28 22:25:46 +00:00
tools Quick fix to D32609, it seems .o files are not transferred in all cases. 2017-05-08 02:47:25 +00:00
Transforms [InstSimplify] add tests for PR32949 miscompile; NFC 2017-05-07 18:19:13 +00:00
Unit [Lit] Fix to prevent creation of "%SystemDrive%" directory on Windows. 2017-05-08 08:55:38 +00:00
Verifier Add accidentally deleted testcase back. 2017-05-04 16:26:07 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh