[PATCH] disabled switching ARM modes in inline asm

Renato Golin renato.golin at linaro.org
Thu Dec 12 14:34:37 PST 2013

Hum, that's not good indeed... I'm not sure how to fix that, at least not
within the context of this patch.

Is there a technical reason why we don't parse the inline asm when
outputting asm? It seems like we should, at least to make sure it's well
formed, or it contains the same instruction set, to give users a better

On 12 December 2013 21:41, Jim Grosbach <grosbach at apple.com> wrote:

>   While commenting on PR18231, I had a horrible realization. This patch
> will cause diagnostics to be generated when compiling with "-c" that will
> not be generated when compiling with "-S". That's a problem. There
> shouldn't be any diagnostics that depend on whether we're doing
> direct-to-object or going through a .s file first. When generating a .s
> file, the inline assembly is just passed through as a textual blob with no
> interpretation done.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131212/d1bb978d/attachment.html>

More information about the llvm-commits mailing list