[llvm] [ConstraintElim] Derive signed facts for post-increment inductions. (PR #210079)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 03:04:18 PDT 2026


================
@@ -1074,38 +1074,42 @@ void State::addInfoForInductions(BasicBlock &BB) {
   }
 
   Value *LowerBound = StartValue;
+  bool UnsignedInBounds = true, SignedInBounds = true;
----------------
antoniofrighetto wrote:

Nit: I'm not sure InBounds quite conveys what these track (IIUC, whether Start + Step doesn't wrap in their respective domain). Could, e.g., LowerBoundNoUnsignedWrap / LowerBoundNoSignedWrap be clearer?

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


More information about the llvm-commits mailing list