PR18931, PATCH: Crash using integrated assembler with immediate arithmetic

Stepan Dyatkovskiy stpworld at
Tue Mar 25 09:37:26 PDT 2014

Stepan Dyatkovskiy wrote:
> Hi all!
> Please find patch in attachment for review.
> Expression in test-case 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 immediate, but it
> still expression.
> Patch introduces a Fixup (MCFixup instance), that is processed after
> main encoding stage.
> Patch also contains test-case.
> Thanks!
> -Stepan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr18931-2014-03-25.patch
Type: text/x-diff
Size: 1549 bytes
Desc: not available
URL: <>

More information about the llvm-commits mailing list