aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2021-06-07 18:33:29 +0200
committerAlex Zinenko <zinenko@google.com>2021-06-08 11:11:30 +0200
commitada9aa5a228200cb71269c371308e82c42fd4abc (patch)
tree712cb105b245f19abf1bf9d23b7df02e06e9f9ee /llvm/lib/CodeGen/CommandFlags.cpp
parent3c70a82e2891949801bd5da68159cd8156659f6f (diff)
downloadllvm-ada9aa5a228200cb71269c371308e82c42fd4abc.zip
llvm-ada9aa5a228200cb71269c371308e82c42fd4abc.tar.gz
llvm-ada9aa5a228200cb71269c371308e82c42fd4abc.tar.bz2
[mlir] Make MemRef element type extensible
Historically, MemRef only supported a restricted list of element types that were known to be storable in memory. This is unnecessarily restrictive given the open nature of MLIR's type system. Allow types to opt into being used as MemRef elements by implementing a type interface. For now, the interface is merely a declaration with no methods. Later, methods to query, e.g., the type size or whether a type can alias elements of another type may be added. Harden the "standard"-to-LLVM conversion against memrefs with non-builtin types. See https://llvm.discourse.group/t/rfc-memref-of-custom-types/3558. Depends On D103826 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D103827
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions