llvm/lib
Reed Kotler f99998a2b0 This patch is for the implementation of mips16 complex pattern addr16.
Previously mips16 was sharing the pattern addr which is used for mips32
and mips64. This had a number of problems:
1) Storing and loading byte and halfword quantities for mips16 has particular
problems due to the primarily non mips16 nature of SP. When we must
load/store byte/halfword stack objects in a function, we must create a mips16
alias register for SP. This functionality is tested in stchar.ll.
2) We need to have an FP register under certain conditions (such as 
dynamically sized alloca). We use mips16 register S0 for this purpose.
In this case, we also use this register when accessing frame objects so this
issue also affects the complex pattern addr16. This functionality is
tested in alloca16.ll.

The Mips16InstrInfo.td has been updated to use addr16 instead of addr.

The complex pattern C++ function for addr has been copied to addr16 and
updated to reflect the above issues.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166897 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-28 06:02:37 +00:00
..
Analysis SCEV validator: Ignore CouldNotCompute/undef on both sides. This is mostly noise and blocks finding more severe bugs. 2012-10-27 11:36:07 +00:00
Archive
AsmParser Special calling conventions for Intel OpenCL built-in library. 2012-10-24 14:46:16 +00:00
Bitcode Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change. 2012-10-15 20:35:56 +00:00
CodeGen Never attempt to join an early-clobber def with a regular kill. 2012-10-27 17:41:27 +00:00
DebugInfo Use a typedef to reduce some typing and reformat code accordingly. 2012-10-16 23:46:25 +00:00
ExecutionEngine PowerPC: Initial support for PowerPC64 MCJIT 2012-10-25 13:13:48 +00:00
Linker
MC [ms-inline asm] Add support for the TYPE operator. 2012-10-26 18:04:20 +00:00
Object Cosmetic changes 2012-10-10 01:45:52 +00:00
Support Don't explicitly require RTTI and EH. 2012-10-26 12:15:29 +00:00
TableGen Remove exception handling usage from tblgen. 2012-10-25 20:33:17 +00:00
Target This patch is for the implementation of mips16 complex pattern addr16. 2012-10-28 06:02:37 +00:00
Transforms LoopIdiom: Add checks to avoid turning memmove into an infinite loop. 2012-10-27 15:18:28 +00:00
VMCore Lowercase the argument for TargetTransformInfo so it's consistent with all other passes. 2012-10-26 18:46:15 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile