[PATCH] D75257: [mlir] NFC - Split out RunnerUtils that don't require a C++ runtime

Alex Zinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 07:47:30 PST 2020


ftynse added inline comments.


================
Comment at: mlir/include/mlir/ExecutionEngine/CRunnerUtils.h:41
+/// StridedMemRef descriptor type with static rank.
+template <typename T, int N> struct StridedMemRefType {
+  T *basePtr;
----------------
I'm not sure templates align with the comment above saying "entities must be kept C compatible".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75257





More information about the llvm-commits mailing list