[llvm-bugs] [Bug 25274] Compiler crash (segmentation fault) when compiling hand-written LLVM IR code

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 21 10:11:26 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25274

David Majnemer <david.majnemer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |david.majnemer at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from David Majnemer <david.majnemer at gmail.com> ---
Your IR is busted:
PHI nodes not grouped at top of basic block!
  %p11 = phi i32* [ %p11_beg, %start ], [ %p11_replaced, %for_end ]
label %while_start
PHI node entries do not match predecessors!
  %mini_in = phi i32* [ %mini, %while_go ], [ %p_in, %mini_replace ]
label %mini_replace
label %mini_end
PHI nodes not grouped at top of basic block!
  %p_in = phi i32* [ %p11, %while_go ], [ %p_replaced, %mini_end ]
label %for
opt: -: error: input module is broken!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151021/105170ef/attachment.html>


More information about the llvm-bugs mailing list