Hi, 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? Cheers. Tim.
mmx-inline-error.diff
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
