aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorOleg Shyshkov <shyshkov@google.com>2022-09-12 16:53:36 +0200
committerOleg Shyshkov <shyshkov@google.com>2022-09-12 16:59:34 +0200
commit4758e916e1b34d800b03cd2ea6a0a554ce2483be (patch)
treefa0b0e33e9dcfdd10b7c3739a500e666f261b52a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent7ecd4d2b7c0acb809c9f2f976d31ad0f5541d8c6 (diff)
downloadllvm-4758e916e1b34d800b03cd2ea6a0a554ce2483be.zip
llvm-4758e916e1b34d800b03cd2ea6a0a554ce2483be.tar.gz
llvm-4758e916e1b34d800b03cd2ea6a0a554ce2483be.tar.bz2
[mlir] Change IteratorType in ContractionOp in Vector dialect from string to enum.
This is the first step in replacing interator_type from strings with enums in Vector and Linalg dialect. This change adds IteratorTypeAttr and uses it in ContractionOp. To avoid breaking all the tests, print/parse code has conversion between string and enum for now. There is a shared code in StructuredOpsUtils.h that expects iterator types to be strings. To break this dependancy, this change forks helper function `isParallelIterator` and `isReductionIterator` to utils in both dialects and adds `getIteratorTypeNames()` to support backward compatibility with StructuredGenerator. In the later changes, I plan to add a similar enum attribute to Linalg. Differential Revision: https://reviews.llvm.org/D133696
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions