llvm-6502/test
Jonathan Roelofs 77327b8520 Fix return sequence on armv4 thumb
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@214881 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-05 17:13:17 +00:00
..
Analysis Add @llvm.assume, lowering, and some basic properties 2014-07-25 21:13:35 +00:00
Assembler verify-uselistorder: Change the default -num-shuffles=5 2014-07-31 18:46:24 +00:00
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 Fix return sequence on armv4 thumb 2014-08-05 17:13:17 +00:00
DebugInfo Cleanup this test some more. 2014-08-01 23:01:32 +00:00
ExecutionEngine [MCJIT] Fix the ARM BR24 relocation in RuntimeDyldMachO. 2014-07-30 03:35:05 +00:00
Feature Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
FileCheck Add missing test for r214210. 2014-07-29 22:57:59 +00:00
Instrumentation [ASan] Use metadata to pass source-level information from Clang to ASan. 2014-08-02 00:35:50 +00:00
Integer
JitListener
Linker Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
LTO
MC Add accessors for the PPC 403 bank registers. 2014-08-05 15:45:15 +00:00
Object Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
Other
TableGen Allow binary and for tblgen math. 2014-08-05 09:43:25 +00:00
tools InstrProf: Allow multiple functions with the same name 2014-08-01 22:50:07 +00:00
Transforms Teach the SLP Vectorizer that keeping some values live over a callsite can have a cost. 2014-08-05 12:30:34 +00:00
Unit
Verifier Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
YAMLParser
.clang-format
CMakeLists.txt Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00
lit.cfg Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh