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

Daniel Stewart stewartd at codeaurora.org
Wed Aug 14 08:07:06 PDT 2013


I don't have commit access. Could you apply this patch? 

 

Thank you,

Daniel

 

From: llvm-commits-bounces at cs.uiuc.edu
[mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Daniel Stewart
Sent: Friday, August 02, 2013 2:28 PM
To: llvm-commits at cs.uiuc.edu
Subject: [PATCH] Add Thumb2 load byte instructions in check for same address

 

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/20130814/e8f34ed4/attachment.html>


More information about the llvm-commits mailing list