diff options
author | MaheshRavishankar <ravishankarm@google.com> | 2021-02-01 19:03:12 -0800 |
---|---|---|
committer | MaheshRavishankar <ravishankarm@google.com> | 2021-02-01 19:03:49 -0800 |
commit | 342d4662e1c930bd0a856c6c88d0cde5f106cc81 (patch) | |
tree | 970674d70368fb0aa02251027fe88019c82976da /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 87f8a08ce36e5bc72f11129d2cf36b5848f86f63 (diff) | |
download | llvm-342d4662e1c930bd0a856c6c88d0cde5f106cc81.zip llvm-342d4662e1c930bd0a856c6c88d0cde5f106cc81.tar.gz llvm-342d4662e1c930bd0a856c6c88d0cde5f106cc81.tar.bz2 |
[mlir] Add custom directive hooks for printing mixed integer or value operands.
Add printer and parser hooks for a custom directive that allows
parsing and printing of idioms that can represent a list of values
each of which is either an integer or an SSA value. For example in
`subview %source[%offset_0, 1] [4, %size_1] [%stride_0, 3]`
each of the list (which represents offset, size and strides) is a mix
of either statically know integer values or dynamically computed SSA
values. Since this is used in many places adding a custom directive to
parse/print this idiom allows using assembly format on operations
which use this idiom.
Differential Revision: https://reviews.llvm.org/D95773
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions