[llvm] [SCEV] Introduce exact flag for UDiv (PR #225065)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 01:11:48 PDT 2026


================
@@ -313,6 +310,13 @@ class SCEVUDivExpr : public SCEV {
 
   ArrayRef<SCEVUse> operands() const { return Operands; }
 
+  void setExactFlag(SCEVFlags Flags) {
----------------
david-arm wrote:

nit: Would be good to add some brief comments here to be consistent with other methods.

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


More information about the llvm-commits mailing list