[llvm] [InstCombine] Re-queue users of phi when nsw/nuw flags of add are inferred (PR #113933)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 17 07:37:41 PST 2024
================
@@ -1868,6 +1868,13 @@ Instruction *InstCombinerImpl::visitAdd(BinaryOperator &I) {
if (Instruction *Res = foldBinOpOfSelectAndCastOfSelectCondition(I))
return Res;
+ if (Changed) {
----------------
dtcxzyw wrote:
Done.
https://github.com/llvm/llvm-project/pull/113933
More information about the llvm-commits
mailing list