aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-11-13 02:23:59 +0000
committerChad Rosier <mcrosier@apple.com>2011-11-13 02:23:59 +0000
commitb29b950bf227b65e193abf924f77ef3fa4eceaae (patch)
treea708dfb42fcc7a91c7647794b2b4b14e59b83593 /lib/CodeGen
parent569561c7eedbd96b8f78c30505d2bdc265a1efc5 (diff)
Add support for emitting both signed- and zero-extend loads. Fix
SimplifyAddress to handle either a 12-bit unsigned offset or the ARM +/-imm8 offsets (addressing mode 3). This enables a load followed by an integer extend to be folded into a single load. For example: ldrb r1, [r0] ldrb r1, [r0] uxtb r2, r1 => mov r3, r2 mov r3, r1 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions