diff options
| author | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2023-07-11 19:50:32 +0100 |
|---|---|---|
| committer | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2023-07-12 07:42:46 +0100 |
| commit | 60c9d2993bbf1594e89e1e6f72e1472eb1aeb8ef (patch) | |
| tree | 581f1a54f018d542bc323ecc74206db76aa8e726 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | 7b7d3c8666d5149039d82f035116fe227b34ad2f (diff) | |
| download | llvm-60c9d2993bbf1594e89e1e6f72e1472eb1aeb8ef.zip llvm-60c9d2993bbf1594e89e1e6f72e1472eb1aeb8ef.tar.gz llvm-60c9d2993bbf1594e89e1e6f72e1472eb1aeb8ef.tar.bz2 | |
[mlir][vector] Refine diagnostic messages
Clarify a few diagnostics so that they are more consistent with the
corresponding condition. For example:
```
if (positionAttr.size() >
static_cast<unsigned>(getSourceVectorType().getRank()))
```
should lead to ("no greater than"):
```
return emitOpError(
"expected position attribute of rank no greater than vector rank");
```
as opposed to ("smaller"):
```
return emitOpError(
"expected position attribute of rank smaller than vector rank");
```
Differential Revision: https://reviews.llvm.org/D154998
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
