Hi, I've written a pass that basically does some code transformations to enable parallel execution of loops. After the transformation llvm runs BitCode Writer pass , which is aborting with Unreachable Executed error. I have attached the input llvm code and the output llvm code for reference. I am stuck at this problem for a few days now. Please let me know if you are able to find anything unusual. Regards, Adarsh -- Adarsh Yoga Graduate Student, Computer Science Indiana University, Bloomington -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100505/367f37fd/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: input Type: application/octet-stream Size: 4039 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100505/367f37fd/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: output Type: application/octet-stream Size: 6012 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100505/367f37fd/attachment-0001.obj>
On 5 May 2010 17:12, Adarsh Yoga <ayoga at umail.iu.edu> wrote:> Hi, > > I've written a pass that basically does some code transformations to > enable parallel execution of loops. After the transformation llvm runs > BitCode Writer pass , which is aborting with Unreachable Executed error. > I have attached the input llvm code and the output llvm code for reference. > I am stuck at this problem for a few days now. Please let me know if you are > able to find anything unusual. >Have you tried running the module verifier after your transform, before writing out to bitcode? Nick> Regards, > Adarsh > > -- > Adarsh Yoga > Graduate Student, Computer Science > Indiana University, Bloomington > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100505/d2893de3/attachment.html>
Yes. Intially the pass was crashing when the module when the module verifier was running. I was able to solve that and now it is crashing when the bit writer pass is running. On Wed, May 5, 2010 at 8:39 PM, Nick Lewycky <nlewycky at google.com> wrote:> On 5 May 2010 17:12, Adarsh Yoga <ayoga at umail.iu.edu> wrote: > >> Hi, >> >> I've written a pass that basically does some code transformations to >> enable parallel execution of loops. After the transformation llvm runs >> BitCode Writer pass , which is aborting with Unreachable Executed error. >> I have attached the input llvm code and the output llvm code for >> reference. I am stuck at this problem for a few days now. Please let me know >> if you are able to find anything unusual. >> > > Have you tried running the module verifier after your transform, before > writing out to bitcode? > > Nick > > >> Regards, >> Adarsh >> >> -- >> Adarsh Yoga >> Graduate Student, Computer Science >> Indiana University, Bloomington >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >> >-- Adarsh Yoga Graduate Student, Computer Science Indiana University, Bloomington -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100505/1c96951d/attachment.html>