ahatanak wrote: The commit message explains what the change does, but not why. Could you add the motivation?
The key point is that clearing the stack on a mismatch is deliberately conservative. It can only suppress an elimination, but never causes a wrong one. The front-end should never generate something like this, but bailing out is still the right thing to do as we don't want to mis-compile by reasoning about an untrustworthy stack. https://github.com/llvm/llvm-project/pull/200303 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
