llvm-6502/test
John Brawn 151a5da534 [ARM] Fix handling of thumb1 out-of-range frame offsets
LocalStackSlotPass assumes that isFrameOffsetLegal doesn't change its
answer when the base register changes. Unfortunately this isn't true
in thumb1, where SP-based loads allow a larger offset than
non-SP-based loads, and this causes the base register reuse code to
generate instructions that are unencodable, causing an assertion
failure. 

Solve this by adding a BaseReg parameter to isFrameOffsetLegal, which
ARMBaseRegisterInfo can then make use of to give the correct answer. 

Differential Revision: http://reviews.llvm.org/D8419


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232825 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-20 17:20:07 +00:00
..
Analysis When simplifying a SCEV truncate by distributing, consider it a simplification to replace a cast, even if we end up with a trunc around the term. Fixes PR22960! 2015-03-20 02:25:00 +00:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen [ARM] Fix handling of thumb1 out-of-range frame offsets 2015-03-20 17:20:07 +00:00
DebugInfo Emit the offset directly instead of creating a dummy expression. 2015-03-17 21:30:21 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation asan: optimization experiments 2015-03-17 16:59:19 +00:00
Integer
JitListener
Linker
LTO libLTO, llvm-lto, gold: Introduce flag for controlling optimization level. 2015-03-19 22:01:00 +00:00
MC Handle X86::reloc_riprel_4byte in 32 bits mode. 2015-03-18 17:33:40 +00:00
Object
Other
SymbolRewriter
TableGen
tools test: Make a start on a test suite for libLTO. 2015-03-19 23:55:38 +00:00
Transforms LowerBitSets: Avoid reusing byte set addresses. 2015-03-19 22:02:10 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt test: Make a start on a test suite for libLTO. 2015-03-19 23:55:38 +00:00
lit.cfg test: Make a start on a test suite for libLTO. 2015-03-19 23:55:38 +00:00
lit.site.cfg.in test: Make a start on a test suite for libLTO. 2015-03-19 23:55:38 +00:00
Makefile test: Make a start on a test suite for libLTO. 2015-03-19 23:55:38 +00:00
Makefile.tests
TestRunner.sh