[llvm] [MoveAutoInit] Fix for miscompilation for #150120 (PR #173961)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 23 11:14:16 PST 2026
https://github.com/dtcxzyw approved this pull request.
LGTM. Actually we only need to guarantee that `DominatingPredecessor` dominates `Pred` and doesn't belong to the cycle. `dominates` is cheap enough so we don't need to sink the dominating check out of the loop.
https://github.com/llvm/llvm-project/pull/173961
More information about the llvm-commits
mailing list