Clang crash using SSE intrinsics

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Clang crash using SSE intrinsics

David Mirabito
Hi,

I'm seeing the following crash when attempting the compile the attached c file. I've reduced the original case as much as I could and still keep the failing behaviour. Changing the 'buffer' interactions (load or pointer increment), or removing the 'printv' seem to make it go away, as does compiling with anything other that -O0.

Code is fairly recent SVN:
        llvm/trunk: 94955
        cfe/trunk: 94968
  ( I think they're sensible revision IDs?)

Please let me know if there's anything further I can do.

Thanks,
  David M

$ ~/code/contrib/llvm/Debug/bin/clang  -O1  -c fail.c -o fail.o
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

fail.c (1K) Download Attachment
ATT00001..txt (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Clang crash using SSE intrinsics

Chris Lattner

On Jan 31, 2010, at 7:09 PM, Mirabito, David wrote:

> Hi,
>
> I'm seeing the following crash when attempting the compile the  
> attached c file. I've reduced the original case as much as I could  
> and still keep the failing behaviour. Changing the 'buffer'  
> interactions (load or pointer increment), or removing the 'printv'  
> seem to make it go away, as does compiling with anything other that -
> O0.
>
> Code is fairly recent SVN:
> llvm/trunk: 94955
> cfe/trunk: 94968
>  ( I think they're sensible revision IDs?)
>
> Please let me know if there's anything further I can do.

As a general note, please file bugzillas instead of emailing cfe-dev.  
That said, this was a great report.  From this, we fixed an optimizer  
crash:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100201/095453.html

Fixed a serious performance issue, which will also allows the example  
to work:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100201/095455.html

And I filed the original codegen crash:
http://llvm.org/bugs/show_bug.cgi?id=6204

Thanks!

-Chris
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev