[PATCH] D78701: [mlir] Give each OpResult its own use list

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 15:15:09 PDT 2020


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


================
Comment at: mlir/lib/IR/OperationSupport.cpp:141
+Operation *detail::TrailingOpResult::getOwner() {
+  // Otherwise, we need to do some arithmetic to get the operation pointer.
+  // Move the trailing owner to the start of the array.
----------------
"Otherwise" seems misplaced here


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78701





More information about the llvm-commits mailing list