On Thu, Jun 6, 2013 at 4:02 PM, Tim Northover <[email protected]> wrote:

> 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?
>
>
Please use -verify instead of FileCheck to write tests for diagnostics.
 Otherwise, looks fine.

-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to