This fixes http://llvm.org/PR20204.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Awesome!
Does this also glue together consecutive __asm statements that aren't in a
block?
Like:
asm mov 1, eax
asm add eax, ecx
That should turn into a single inline assembly IR instruction.
Comment Actions
LGTM with requested changes addressed.
lib/Parse/ParseStmtAsm.cpp | ||
---|---|---|
463 | We should probably assert that LBraceLocs isn't empty at this point. |
We should probably assert that LBraceLocs isn't empty at this point.