[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
Thu Nov 6 06:18:22 PST 2014


Hi Tim,
I have refactored the code. I did try the table driven approach to handle this, but since we have different diagnostics based SP, PC, LR and ITBlock, i had to check for those conditions anyway and the table was rendered as redundant and hence i removed it.

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.15861.patch
Type: text/x-patch
Size: 11721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141106/5511a553/attachment.bin>


More information about the llvm-commits mailing list