llvm-6502/test
Jonathan Roelofs b23c2d9b2c Re-apply r214881: Fix return sequence on armv4 thumb
This reverts r214893, re-applying r214881 with the test case relaxed a bit to
satiate the build bots.

POP on armv4t cannot be used to change thumb state (unilke later non-m-class
architectures), therefore we need a different return sequence that uses 'bx'
instead:

  POP {r3}
  ADD sp, #offset
  BX r3

This patch also fixes an issue where the return value in r3 would get clobbered
for functions that return 128 bits of data. In that case, we generate this
sequence instead:

  MOV ip, r3
  POP {r3}
  ADD sp, #offset
  MOV lr, r3
  MOV r3, ip
  BX lr

http://reviews.llvm.org/D4748



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214928 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-05 21:32:21 +00:00
..
Analysis
Assembler
Bindings [OCaml] Add Llvm.{string_of_const,const_element}. 2014-08-03 23:54:22 +00:00
Bitcode UseListOrder: Fix blockaddress use-list order 2014-08-01 22:27:19 +00:00
BugPoint
CodeGen Re-apply r214881: Fix return sequence on armv4 thumb 2014-08-05 21:32:21 +00:00
DebugInfo Cleanup this test some more. 2014-08-01 23:01:32 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation [ASan] Use metadata to pass source-level information from Clang to ASan. 2014-08-02 00:35:50 +00:00
Integer
JitListener
Linker
LTO
MC [AVX512] Add masking variant and intrinsics for valignd/q 2014-08-05 17:23:04 +00:00
Object
Other Don't internalize all but main by default. 2014-08-05 20:10:38 +00:00
TableGen Allow binary and for tblgen math. 2014-08-05 09:43:25 +00:00
tools Add a test showing the interaction of linker scripts and plugin. 2014-08-05 19:56:53 +00:00
Transforms Remove dead zero store to calloc initialized memory 2014-08-05 17:48:20 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh