aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexandre E. Eichenberger <alexe@us.ibm.com>2020-08-27 10:47:33 +0530
committerUday Bondhugula <uday@polymagelabs.com>2020-08-27 20:26:59 +0530
commita14a2805b04d49bfbbff6f79f141738c67ad14fd (patch)
treec3db3f8b3272fb9c2be2dac82e576203b867129f /clang/lib/Frontend/CompilerInvocation.cpp
parentb5924a8e27536d19dd5c4d302db29fb6163d5faa (diff)
downloadllvm-a14a2805b04d49bfbbff6f79f141738c67ad14fd.zip
llvm-a14a2805b04d49bfbbff6f79f141738c67ad14fd.tar.gz
llvm-a14a2805b04d49bfbbff6f79f141738c67ad14fd.tar.bz2
[MLIR] MemRef Normalization for Dialects
When dealing with dialects that will results in function calls to external libraries, it is important to be able to handle maps as some dialects may require mapped data. Before this patch, the detection of whether normalization can apply or not, operations are compared to an explicit list of operations (`alloc`, `dealloc`, `return`) or to the presence of specific operation interfaces (`AffineReadOpInterface`, `AffineWriteOpInterface`, `AffineDMAStartOp`, or `AffineDMAWaitOp`). This patch add a trait, `MemRefsNormalizable` to determine if an operation can have its `memrefs` normalized. This trait can be used in turn by dialects to assert that such operations are compatible with normalization of `memrefs` with nontrivial memory layout specification. An example is given in the literal tests. Differential Revision: https://reviews.llvm.org/D86236
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions