Displaying 1 result from an estimated 1 matches for "addiurxrxximm16".
Did you mean:
addiurxrximm16
2013 Feb 08
2
[LLVMdev] pattern matching order
...rely on?
def: ArithLogicI16_pat<add, immSExt8, AddiuRxRxImm16>;
def: ArithLogicI16_pat<add, immSExt16, AddiuRxRxImmX16>;
the immSExt8 will only match a 8 bit signed value.
I want it to try the first pattern and then the second, if it fails.
AddiuRxRxImm16 --- 16 bit instruction
AddiuRxRxXImm16 -- 32 bit instruction