[PATCH] [Thumb/Thumb2] Added restrictions on PC, LR, SP in the register list for PUSH/POP/LDM/STM

Jyoti Allur jyoti.allur at samsung.com
Fri Nov 21 06:39:45 PST 2014


Hi Tim,
I have updated the patch as follows.
-> Moved all register list validations to validateRegListOperands (member of ARMAsmParser) 
-> Split the table AllowedCombinations to AllowedCombinationsSTM and AllowedCombinationsLDM so that we can search based on specific applicable  flags only for those set of instructions.

Thanks a lot for reviewing.

http://reviews.llvm.org/D6090

Files:
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  test/MC/ARM/thumb-diagnostics.s
  test/MC/ARM/thumb2-diagnostics.s
  test/MC/ARM/v8_IT_manual.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6090.16487.patch
Type: text/x-patch
Size: 20581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141121/84318f20/attachment.bin>


More information about the llvm-commits mailing list