[PATCH] D76233: Affine expr simplification for add of const multiple of same expression

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 12:01:31 PDT 2020


rriddle accepted this revision.
rriddle added inline comments.
This revision is now accepted and ready to land.


================
Comment at: mlir/include/mlir/IR/AffineExpr.h:191
   /* implicit */ AffineConstantExpr(AffineExpr::ImplType *ptr);
+  AffineConstantExpr() : AffineConstantExpr(nullptr) {}
   int64_t getValue() const;
----------------
Can you just add `= nullptr` to the other constructor?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76233





More information about the llvm-commits mailing list