[llvm] [SCEVExpander] Recognize urem idiom during expansion (PR #96005)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 01:22:23 PDT 2024


================
@@ -14972,6 +14972,10 @@ void PredicatedScalarEvolution::print(raw_ostream &OS, unsigned Depth) const {
 // 4, A / B becomes X / 8).
 bool ScalarEvolution::matchURem(const SCEV *Expr, const SCEV *&LHS,
                                 const SCEV *&RHS) {
+
----------------
nikic wrote:

nit: Drop newline at start of function.

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


More information about the llvm-commits mailing list