<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="">Hi,<div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 12, 2021, at 14:11, Roman Lebedev via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org" class="">llvm-commits@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">Author: Roman Lebedev<br class="">Date: 2021-05-12T16:10:55+03:00<br class="">New Revision: 554b1bced325a8d860ad00bd59020d66d01c95f8<br class=""><br class="">URL: <a href="https://github.com/llvm/llvm-project/commit/554b1bced325a8d860ad00bd59020d66d01c95f8" class="">https://github.com/llvm/llvm-project/commit/554b1bced325a8d860ad00bd59020d66d01c95f8</a><br class="">DIFF: <a href="https://github.com/llvm/llvm-project/commit/554b1bced325a8d860ad00bd59020d66d01c95f8.diff" class="">https://github.com/llvm/llvm-project/commit/554b1bced325a8d860ad00bd59020d66d01c95f8.diff</a><br class=""><br class="">LOG: [InstCombine] ~(C + X) --> ~C - X (PR50308)<br class=""><br class="">We can not rely on (C+X)-->(X+C) already happening,<br class="">because we might not have visited that `add` yet.<br class="">The added testcase would get stuck in an endless combine loop.<br class=""><br class=""></div></div></blockquote><br class=""></div><span class="">Unfortunately this exposed another infinite loop. Please see </span><a href="https://bugs.llvm.org/show_bug.cgi?id=50370" class="">https://bugs.llvm.org/show_bug.cgi?id=50370</a> for a reproducer.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Florian</div></body></html>