[PATCH] Add Thumb2 load byte instructions in check for same address

Daniel Stewart stewartd at codeaurora.org
Fri Aug 2 11:28:11 PDT 2013


When determining if two different loads are from the same base address, this
patch allows one load to use a t2LDRi8 address mode and another to use a
t2LDRi12 address mode. The current implementation is very conservative and
this allows the case of differing Thumb2 byte loads to be considered.
Allowing these differing modes instead of forcing the exact same opcode is
useful for situations where one opcodes loads from a base address+1 and a
second opcode loads for a base address-1.

 

Daniel Stewart

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130802/37e4edc2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-Thumb2-load-byte-instructions-in-check-for-same-.patch
Type: application/octet-stream
Size: 5481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130802/37e4edc2/attachment.obj>


More information about the llvm-commits mailing list