[llvm] r198914 - ARM IAS: support implicit immediate 0s for {LD, ST}R{B, }T

Jim Grosbach grosbach at apple.com
Fri Jan 10 13:21:50 PST 2014


On Jan 10, 2014, at 11:33 AM, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:

> On Fri, Jan 10, 2014 at 10:15:18AM -0800, Jim Grosbach wrote:
>> This is not the right way to do this. These are assembly aliases, not
>> distinct instruction encodings. They should be implemented as such.
>> There should never be two instruction definitions that map to the same
>> encoding.
> 
> If you have a way to implement it with InstAlias, be my guest. I
> couldn't find one and I spend some time with gdb trying to fit the
> patterns to match.

InstAlias may not be enough (load/store instructions can get weird for those). If not, an AsmPseudo is the way to go.



More information about the llvm-commits mailing list