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. http://reviews.llvm.org/D4399