[llvm-bugs] [Bug 42346] For -enable-gvn-sink, facing Assertion `i < NumUserOperands && "getOperand() out of range!"' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 21 08:22:42 PDT 2019


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

           What    |Removed                     |Added
         Resolution|---                         |FIXED
 Fixed By Commit(s)|                            |r364062
             Status|CONFIRMED                   |RESOLVED

--- Comment #3 from Sanjay Patel <spatel+llvm at rotateright.com> ---
(In reply to James Molloy from comment #2)
> Looks to me like we need a check just before the we enter the loop at line
> 715 that all the instructions have the same number of operands.

Thanks! Committed slightly modified code and test:

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/20190621/1166dd07/attachment.html>

More information about the llvm-bugs mailing list