llvm-6502/test
Louis Gerbarg a564159d85 Fix illegal relocations in X86FastISel
On x86_86  the lea instruction can only use a 32 bit immediate value. When
the code is compiled statically the RIP register is not used, meaning the
immediate is all that can be used for the relocation, which is not sufficient
in the case of targets more than +/- 2GB away. This patch bails out of fast
isel in those cases and reverts to DAG which does the right thing.

Test case included.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211040 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-16 17:35:40 +00:00
..
Analysis Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
Assembler Canonicalize addrspacecast ConstExpr between different pointer types 2014-06-15 21:40:57 +00:00
Bindings Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
Bitcode IR: add "cmpxchg weak" variant to support permitted failure. 2014-06-13 14:24:07 +00:00
BugPoint
CodeGen Fix illegal relocations in X86FastISel 2014-06-16 17:35:40 +00:00
DebugInfo Fix illegal relocations in X86FastISel 2014-06-16 17:35:40 +00:00
ExecutionEngine Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
Feature Move test for r210734 to Feature/aliases.ll. 2014-06-12 21:37:30 +00:00
FileCheck
Instrumentation Remove top-level Clang -fsanitize= flags for optional ASan features. 2014-06-13 17:53:44 +00:00
Integer
JitListener
Linker Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
LTO Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
MC [mips][mips64r6] ssnop is deprecated on MIPS32r6/MIPS64r6 2014-06-16 13:25:35 +00:00
Object Fix pr17056. 2014-06-16 16:41:00 +00:00
Other Canonicalize addrspacecast ConstExpr between different pointer types 2014-06-15 21:40:57 +00:00
TableGen Fix error in tablegen when either operand of !if is an empty list. 2014-06-10 20:10:08 +00:00
tools Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
Transforms LowerSwitch: track bounding range for the condition tree. 2014-06-16 16:55:20 +00:00
Unit
Verifier Move test for r210734 to Feature/aliases.ll. 2014-06-12 21:37:30 +00:00
YAMLParser
.clang-format
CMakeLists.txt OK, NAKAMURA Takumi beat me to this change. So backing out my addition of 2014-05-19 23:26:51 +00:00
lit.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
lit.site.cfg.in
Makefile lld test for configure & make 2014-06-06 09:06:25 +00:00
Makefile.tests
TestRunner.sh