llvm-6502/test
Akira Hatanaka 40cd57eb5c [ARM] Fix a bug in constant island pass that was triggering an assertion.
The assert was being triggered when the distance between a constant pool entry
and its user exceeded the maximally allowed distance after thumb2 branch
shortening. A padding was inserted after a thumb2 branch instruction was shrunk,
which caused the user to be out of range. This is wrong as the padding should
have been inserted by the layout algorithm so that the distance between two
instructions doesn't grow later during thumb2 instruction optimization.

This commit fixes the code in ARMConstantIslands::createNewWater to call
computeBlockSize and set BasicBlock::Unalign when a branch instruction is
inserted to create new water after a basic block. A non-zero Unalign causes
the worst-case padding to be inserted when adjustBBOffsetsAfter is called to
recompute the basic block offsets.

rdar://problem/19130476


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225467 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-08 20:44:50 +00:00
..
Analysis
Assembler Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
Bindings [OCaml] Fix bitrot in tests. 2014-12-30 03:24:14 +00:00
Bitcode Make this test a bit stricter. 2015-01-08 16:11:18 +00:00
BugPoint
CodeGen [ARM] Fix a bug in constant island pass that was triggering an assertion. 2015-01-08 20:44:50 +00:00
DebugInfo Revert "Reapply: Teach SROA how to update debug info for fragmented variables." 2015-01-08 02:02:00 +00:00
ExecutionEngine [MCJIT] Remove a few redundant MCJIT tests, and drop the extraneous datalayout 2015-01-08 18:52:15 +00:00
Feature Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
FileCheck
Instrumentation Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
Integer
JitListener
Linker Linker: Don't use MDNode::replaceOperandWith() 2015-01-07 21:32:27 +00:00
LTO
MC [X86] Don't print 'dword ptr' or 'qword ptr' on the operand to some of the LEA variants in Intel syntax. The memory operand is inherently unsized. 2015-01-08 07:41:30 +00:00
Object Don't loop endlessly for MachO files with 0 ncmds 2015-01-06 17:08:26 +00:00
Other [PM] Give slightly less horrible names to the utility pass templates for 2015-01-07 11:14:51 +00:00
SymbolRewriter
TableGen
tools Slightly refactor things for llvm-objdump and the -macho option so it can be used with 2015-01-07 21:02:18 +00:00
Transforms Fix fcmp + fabs instcombines when using the intrinsic 2015-01-08 20:09:34 +00:00
Unit
Verifier Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg llvm/test/lit.cfg: have_ld_plugin_support(): Use decode() for stdout. 2015-01-05 14:18:04 +00:00
lit.site.cfg.in [lit] Make config.llvm_lib_dir available on cmake, too. 2014-12-30 03:24:11 +00:00
Makefile [lit] Make config.llvm_lib_dir available on cmake, too. 2014-12-30 03:24:11 +00:00
Makefile.tests
TestRunner.sh