llvm-6502/test/CodeGen
Renato Golin b451f4e376 Improve handling of stack accesses in Thumb-1
Thumb-1 only allows SP-based LDR and STR to be word-sized, and SP-base LDR,
STR, and ADD only allow offsets that are a multiple of 4. Make some changes
to better make use of these instructions:

* Use word loads for anyext byte and halfword loads from the stack.
* Enforce 4-byte alignment on objects accessed in this way, to ensure that
  the offset is valid.
* Do the same for objects whose frame index is used, in order to avoid having
  to use more than one ADD to generate the frame index.
* Correct how many bits of offset we think AddrModeT1_s has.

Patch by John Brawn.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230496 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-25 14:41:06 +00:00
..
AArch64 AArch64: Relax assert about large shift sizes. 2015-02-24 18:52:04 +00:00
ARM Improve handling of stack accesses in Thumb-1 2015-02-25 14:41:06 +00:00
BPF bpf: add missing lit.local.cfg 2015-01-24 18:20:52 +00:00
CPP
Generic overloaded-intrinsic-name: exercise anyptr on struct 2015-01-27 20:03:08 +00:00
Hexagon [Hexagon] Factoring classes out of store patterns. 2015-02-09 20:33:46 +00:00
Inputs
Mips Replace obsolete -mattr=n64 command line option with -target-abi=n64. No functional changes. 2015-02-25 11:43:01 +00:00
MSP430
NVPTX [NVPTX] Emit .pragma "nounroll" for loops marked with nounroll 2015-02-01 02:27:45 +00:00
PowerPC [PowerPC] Add triples to QPX tests 2015-02-25 01:26:59 +00:00
R600 R600/SI: Remove isel mubuf legalization 2015-02-24 17:59:19 +00:00
SPARC SelectionDAG: fold (fp_to_u/sint (s/uint_to_fp)) here too 2015-02-16 21:47:58 +00:00
SystemZ [SystemZ] Support all TLS access models - CodeGen part 2015-02-18 09:13:27 +00:00
Thumb Improve handling of stack accesses in Thumb-1 2015-02-25 14:41:06 +00:00
Thumb2 Make buildbots better. 2015-02-11 12:24:09 +00:00
X86 Support SHF_MERGE sections in COMDATs. 2015-02-25 00:52:15 +00:00
XCore Revert r229944: EH: Prune unreachable resume instructions during Dwarf EH preparation 2015-02-20 02:15:36 +00:00