diff options
author | Alex Zinenko <zinenko@google.com> | 2021-03-23 14:04:52 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2021-03-23 18:26:31 +0100 |
commit | 5fac87d1bcc40775edb5c1770331833a9e78f8e3 (patch) | |
tree | 932f8062c9a0f7852d38445109e074dc0d69e98b /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | dd391e1ef762d79f86112dc2480a89c9be066ce1 (diff) | |
download | llvm-5fac87d1bcc40775edb5c1770331833a9e78f8e3.zip llvm-5fac87d1bcc40775edb5c1770331833a9e78f8e3.tar.gz llvm-5fac87d1bcc40775edb5c1770331833a9e78f8e3.tar.bz2 |
[mlir] verify that operand/result_segment_sizes attributes have i32 element
This is an assumption that is made in numerous places in the code. In
particular, in the code generated by mlir-tblgen for operand/result accessors
in ops with attr-sized operand or result lists. Make sure to verify this
assumption.
Note that the operation traits are verified before running the custom op
verifier, which can expect the trait verifier to have passed, but some traits
may be verified before the AttrSizedOperand/ResultTrait and should not make
such assumptions.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D99183
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions