[PATCH] Diagnose incompatible MMX asm constraints
tnorthover at apple.com
Thu Jun 6 16:02:33 PDT 2013
The attached patch fixes an issue where Clang would try to create a bitcast from “<8 x i32>” to “x86_mmx” which has a different size. This caused an assertion failure on malformed inline assembly.
The problem seems to come from the unexpected behaviour of the adjustInlineAsmType, and this patch alters it slightly to report incompatible cases and allow the CodeGen to issue a proper diagnostic.
Is it OK to commit or have I done something wrong?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4848 bytes
Desc: not available
More information about the cfe-commits