[PATCH] D79502: [mlir] Support partial folding of affine.min/max

Nicolas Vasilache via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 14:44:39 PDT 2020


nicolasvasilache added inline comments.


================
Comment at: mlir/lib/IR/AffineMap.cpp:242
+  // containing those constants.
+  results.reserve(newMap.getNumResults());
+  for (AffineExpr expr : newMap.getResults()) {
----------------
Same potential 2-step readability gains as above.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79502/new/

https://reviews.llvm.org/D79502





More information about the llvm-commits mailing list