summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/cmp-immediate-fixup-error.s
Commit message (Collapse)AuthorAgeFilesLines
* Recommitted fix for PR18931, with extended tests set.Stepan Dyatkovskiy2014-03-291-0/+7
Issue subject: Crash using integrated assembler with immediate arithmetic Fix description: Expressions like 'cmp r0, #(l1 - l2) >> 3' could not be evaluated on asm parsing stage, since it is impossible to resolve labels on this stage. In the end of stage we still have expression (MCExpr). Then, when we want to encode it, we expect it to be an immediate, but it still an expression. Patch introduces a Fixup (MCFixup instance), that is processed after main encoding stage. llvm-svn: 205094
OpenPOWER on IntegriCloud