llvm-6502/lib
Evan Cheng fc47253294 (sub X, imm) gets canonicalized to (add X, -imm)
There are patterns to handle immediates when they fit in the immediate field.
e.g. %sub = add i32 %x, -123
=>   sub r0, r0, #123
Add patterns to catch immediates that do not fit but should be materialized
with a single movw instruction rather than movw + movt pair.
e.g. %sub = add i32 %x, -65535
=>   movw r1, #65535
     sub r0, r0, r1

rdar://11726136


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159057 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-23 00:29:06 +00:00
..
Analysis
Archive
AsmParser
Bitcode
CodeGen Remove ProcessImplicitDefs.h which was unused. 2012-06-22 22:27:36 +00:00
DebugInfo
ExecutionEngine
Linker
MC EmitZerofill should take a 64-bit size or else it's chopping off large zero-filled global. rdar://11729134 2012-06-22 20:14:46 +00:00
Object
Support
TableGen
Target (sub X, imm) gets canonicalized to (add X, -imm) 2012-06-23 00:29:06 +00:00
Transforms BoundsChecking: attach debug info to traps to make my life a bit more sane 2012-06-23 00:12:34 +00:00
VMCore
CMakeLists.txt
LLVMBuild.txt
Makefile