[llvm-bugs] [Bug 46721] optimizer segfault on IR input

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 5 06:00:59 PDT 2021


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

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.llvm.org/show_
                   |                            |bug.cgi?id=50228
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #9 from Sanjay Patel <spatel+llvm at rotateright.com> ---
(In reply to Roman Lebedev from comment #8)
> (In reply to Sanjay Patel from comment #7)
> > (In reply to Felix A. Croes from comment #6) 
> > > In any case, this clarifies for me that the input which triggers the crash
> > > is indeed malformed.
> > 
> > Should we close this bug report or is there something to do (within LLVM)?
> I think so.
> 
> > The LangRef and/or the verifier assert statement could be made clearer about
> > the phi requirement that each predecessor edge requires an incoming value.
> 
> I think this implementation detail is *really* unfortunate,
> and i would welcome it going away, if that wouldn't penalize other code.

I don't know if there are any subtleties there, but filed as bug 50228 for
further discussion.

-- 
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/20210505/90ba6526/attachment.html>


More information about the llvm-bugs mailing list