[llvm] [DA] Add tests for nsw doesn't hold on entire iteration space (NFC) (PR #162281)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 3 06:46:25 PST 2025


================

----------------
kasuga-fj wrote:

> I thought today SCEV won't prove nsw for conditional statements.

This is exactly the problem I am pointing out. In the end, you failed to realize by yourself that Strong SIV is buggy. This is absolutely not a "proof".
Also, you are still misunderstanding. SCEV does not infer `nsw` from conditional memory load/store.

https://github.com/llvm/llvm-project/pull/162281


More information about the llvm-commits mailing list