<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 20, 2021, at 15:22, Nikita Popov <<a href="mailto:nikita.ppv@gmail.com" class="">nikita.ppv@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 20, 2021 at 12:24 PM Florian Hahn <<a href="mailto:florian_hahn@apple.com" class="">florian_hahn@apple.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Hi,<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Oct 25, 2020, at 17:47, Nikita Popov via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org" target="_blank" class="">llvm-commits@lists.llvm.org</a>> wrote:</div><br class=""><div class=""><div class=""><br class="">Author: Nikita Popov<br class="">Date: 2020-10-25T18:46:50+01:00<br class="">New Revision: 22a5cde541c3306e53279fd02c6d60ae6178ef10<br class=""><br class="">URL: <a href="https://github.com/llvm/llvm-project/commit/22a5cde541c3306e53279fd02c6d60ae6178ef10" target="_blank" class="">https://github.com/llvm/llvm-project/commit/22a5cde541c3306e53279fd02c6d60ae6178ef10</a><br class="">DIFF: <a href="https://github.com/llvm/llvm-project/commit/22a5cde541c3306e53279fd02c6d60ae6178ef10.diff" target="_blank" class="">https://github.com/llvm/llvm-project/commit/22a5cde541c3306e53279fd02c6d60ae6178ef10.diff</a><br class=""><br class="">LOG: [SCEV] Separate out constant folding in mul expr creation<br class=""><br class="">Separate out the code handling constant folding into a separate<br class="">block, that is independent of other folds that need a constant<br class="">first operand. Also make some minor adjustments to make the<br class="">constant folding look nearly identical to the same code in<br class="">getAddExpr().<br class=""><br class="">The only reason this change is not strictly NFC is that the<br class="">C1*(C2+V) fold is moved below the constant folding, which means<br class="">that it now also applies to C1*C2*(C3+V), as it should.<br class=""><br class="">Added: <br class=""></div></div></blockquote></div><br class=""><div class=""><br class=""></div><div class="">It looks like this change may cause a crash in LoopStrengthReduce: <font face="arial, sans-serif" class=""><span style="white-space:pre-wrap" class=""><a href="https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35400" target="_blank" class="">https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35400</a></span></font></div><div class=""><br class=""></div><div class="">To reproduce, run `llc` on <span style="font-family:arial,sans-serif;white-space:pre-wrap" class=""> </span><font face="arial, sans-serif" class=""><span style="white-space:pre-wrap" class=""><a href="https://oss-fuzz.com/download?testcase_id=5243727227518976" target="_blank" class="">https://oss-fuzz.com/download?testcase_id=5243727227518976</a></span></font></div></div></blockquote><div class=""><br class=""></div><div class="">Looks like this is <a href="https://bugs.llvm.org/show_bug.cgi?id=50765" class="">https://bugs.llvm.org/show_bug.cgi?id=50765</a>.</div><div class=""><br class=""></div><div class="">Nikita<br class=""> </div></div></div>
</div></blockquote></div><br class=""><div class=""><br class=""></div><div class="">Sounds good, thanks!</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Florian</div></body></html>