On 12 November 2013 21:10, Josh Klontz <josh.klontz at gmail.com> wrote:> Porting my project from JIT to MCJIT did not fix the code generation bug > Frank is also experiencing. However, Renato's "-avx" suggestion did resolve > the issue for me. Hopefully we can get some traction on this bug, happy to > help where possible! >Hi Josh, Frank, Glad to see you can continue with your work, regardless of the AVX bug. It would be great if you guys could reduce the IR and report the AVX bug in bugzilla, I'm hoping you both found the same error (fingers crossed), but feel free to open separate bugs, and we'll join later if they are the same. Thanks! --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131113/fc0b7639/attachment.html>
My case is submitted. bug 17878 <http://llvm.org/bugs/show_bug.cgi?id=17878> In my case the segfault happens when calling the JIT'ed function. Thus some sort of 'payload' has to be created. Not sure if it's the same what Josh is hitting. Frank On 13/11/13 04:26, Renato Golin wrote:> On 12 November 2013 21:10, Josh Klontz <josh.klontz at gmail.com > <mailto:josh.klontz at gmail.com>> wrote: > > Porting my project from JIT to MCJIT did not fix the code > generation bug > Frank is also experiencing. However, Renato's "-avx" suggestion > did resolve > the issue for me. Hopefully we can get some traction on this bug, > happy to > help where possible! > > > Hi Josh, Frank, > > Glad to see you can continue with your work, regardless of the AVX > bug. It would be great if you guys could reduce the IR and report the > AVX bug in bugzilla, I'm hoping you both found the same error (fingers > crossed), but feel free to open separate bugs, and we'll join later if > they are the same. > > Thanks! > --renato-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131113/8e099bf3/attachment.html>
On 13 November 2013 14:59, Frank Winter <fwinter at jlab.org> wrote:> My case is submitted. bug 17878<http://llvm.org/bugs/show_bug.cgi?id=17878> >Thanks! --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131113/3ba11f32/attachment.html>
I'm embarrassed to say my bug ended up being a user error. I was passing in pointers that were 16-byte aligned instead of 32. Explains why they worked fine for SSE but not AVX :) Sorry for the noise! -- View this message in context: http://llvm.1065342.n5.nabble.com/Limit-loop-vectorizer-to-SSE-tp63175p63419.html Sent from the LLVM - Dev mailing list archive at Nabble.com.