[PATCH] D46047: [SCEV] Introduce bulk umin creation utilities

Javed Absar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 25 02:16:14 PDT 2018


javed.absar added inline comments.


================
Comment at: lib/Analysis/ScalarEvolution.cpp:3566
+  // ~umax(~x, ~y, ~z) == umin(x, y, z).
   return getNotSCEV(getUMaxExpr(getNotSCEV(LHS), getNotSCEV(RHS)));
 }
----------------
There is only x,y here (LHS,RHS), not z as in the comment. Am i missing something here? 


https://reviews.llvm.org/D46047





More information about the llvm-commits mailing list