[llvm-bugs] [Bug 35846] [InstCombine] Compare known true or false was not folded
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 9 11:16:29 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35846
Sanjay Patel <spatel+llvm at rotateright.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Fixed By Commit(s)| |322104
--- Comment #2 from Sanjay Patel <spatel+llvm at rotateright.com> ---
I remembered that we added remarks for this kind of situation:
https://reviews.llvm.org/rL294208
...and it works from -instsimplify:
$ ./opt -instsimplify 35846.ll -S -pass-remarks-analysis=.*
remark: <unknown>:0:0: Detected conflicting code assumptions. Program may have
undefined behavior, or compiler may have internal error.
...but not with -instcombine, so maybe the simplify query isn't populated
correctly in instcombine.
But this should be fixed with:
https://reviews.llvm.org/rL322104
--
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/20180109/183fcb9d/attachment.html>
More information about the llvm-bugs
mailing list