I am hitting this assertion: assert(I != VRBaseMap.end() && "Node emitted out of order - late"); I am not sure why this assertion is being triggered or what I changed that is causing it. This is asserting when SDValue is FrameIndexSDNode 1. I don't have any code that modified frameindices until my overloaded RegisterInfo function. I've attached the bc file. If I generate an unoptimized bc file then there is no issue, only when I turn optimizations on do I hit this problem. Thanks for any hints, Micah Villmow Systems Engineer Advanced Technology & Performance Advanced Micro Devices Inc. S1-609 One AMD Place Sunnyvale, CA. 94085 P: 408-749-3966 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090115/55e30c83/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: test-opt.bc Type: application/octet-stream Size: 1032 bytes Desc: test-opt.bc URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090115/55e30c83/attachment.obj>
On Thu, Jan 15, 2009 at 1:54 PM, Villmow, Micah <Micah.Villmow at amd.com> wrote:> I am hitting this assertion: > > assert(I != VRBaseMap.end() && "Node emitted out of order - late"); > > I am not sure why this assertion is being triggered or what I changed that > is causing it. > > This is asserting when SDValue is FrameIndexSDNode 1. > > I don't have any code that modified frameindices until my overloaded > RegisterInfo function. > > I've attached the bc file. If I generate an unoptimized bc file then there > is no issue, only when I turn optimizations on do I hit this problem. >I got this too. It's related to debug information being in flux right now. I believe that Devang is working on a fix for this right now. -bw
Is there any known method/hack of bypassing this? Thanks, -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Bill Wendling Sent: Thursday, January 15, 2009 2:07 PM To: LLVM Developers Mailing List Subject: Re: [LLVMdev] Hitting assertion, unsure why On Thu, Jan 15, 2009 at 1:54 PM, Villmow, Micah <Micah.Villmow at amd.com> wrote:> I am hitting this assertion: > > assert(I != VRBaseMap.end() && "Node emitted out of order - late"); > > I am not sure why this assertion is being triggered or what I changedthat> is causing it. > > This is asserting when SDValue is FrameIndexSDNode 1. > > I don't have any code that modified frameindices until my overloaded > RegisterInfo function. > > I've attached the bc file. If I generate an unoptimized bc file thenthere> is no issue, only when I turn optimizations on do I hit this problem. >I got this too. It's related to debug information being in flux right now. I believe that Devang is working on a fix for this right now. -bw _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev