[llvm] [SCEV] Introduce exact flag for UDiv (PR #225065)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 01:46:38 PDT 2026
================
@@ -335,6 +334,7 @@ Value *SCEVExpander::InsertBinop(Instruction::BinaryOps Opcode, Value *LHS,
Builder.SetCurrentDebugLocation(Loc);
bool IsNUW = any(Flags & SCEV::FlagNUW);
bool IsNSW = any(Flags & SCEV::FlagNSW);
+ bool IsExact = any(Flags & SCEV::FlagExact);
----------------
artagnon wrote:
Ah, the bitfield enum is not contextually convertible to a bool.
https://github.com/llvm/llvm-project/pull/225065
More information about the llvm-commits
mailing list