[llvm] [LLVM][SCEV] Look through common vscale multiplicand when simplifying compares. (PR #141798)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 18 03:19:20 PDT 2025
================
@@ -10959,7 +10978,7 @@ bool ScalarEvolution::SimplifyICmpOperands(CmpPredicate &Pred, const SCEV *&LHS,
// Recursively simplify until we either hit a recursion limit or nothing
// changes.
if (Changed)
- return SimplifyICmpOperands(Pred, LHS, RHS, Depth + 1);
+ (void)SimplifyICmpOperands(Pred, LHS, RHS, Depth + 1);
----------------
artagnon wrote:
Use [[maybe_unused]]?
https://github.com/llvm/llvm-project/pull/141798
More information about the llvm-commits
mailing list