[llvm-bugs] [Bug 50191] clang crashes at -O2 in llvm/lib/Analysis/ValueTracking.cpp:2603: llvm::Optional<unsigned int> getInvertibleOperand(const llvm::Operator*, const llvm::Operator*): Assertion `BO1->getOperand(*Idx) == PN1 && BO2->getOperand(*Idx) == PN2' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 4 05:05:41 PDT 2021


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

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

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

--- Comment #3 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Thanks for the report!

Should be fixed with:
https://reviews.llvm.org/rG15a42339fe5f

For reference, the bug was introduced with:
https://reviews.llvm.org/rG6792e26c0d0f

And the code was enhanced after the bug fix:
https://reviews.llvm.org/rGe38ccb729b20

-- 
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/20210504/b920bea7/attachment.html>


More information about the llvm-bugs mailing list