[all-commits] [llvm/llvm-project] 56bddf: [mlir][sparse] replace ad-hoc MemRef struct with C...

Aart Bik via All-commits all-commits at lists.llvm.org
Wed Sep 22 09:23:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56bddf3b1c035043c2568efaa8aa37f6fa87f9f1
      https://github.com/llvm/llvm-project/commit/56bddf3b1c035043c2568efaa8aa37f6fa87f9f1
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M mlir/lib/ExecutionEngine/SparseUtils.cpp

  Log Message:
  -----------
  [mlir][sparse] replace ad-hoc MemRef struct with CRunnerUtils definition

This revision removes the ad-hoc MemRefs that were needed using the old
ABI (when we still passed by value) and replaces them with the shared
StridedMemRef definitions of CRunnerUtils (possible now that we pass by
pointer). This avoids code duplication and makes sure we have a consistent
view of strided memory references in all our support libraries.

Reviewed By: jsetoain

Differential Revision: https://reviews.llvm.org/D110221




More information about the All-commits mailing list