diff options
author | Tai Ly <tai.ly@arm.com> | 2025-08-29 10:32:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-29 16:32:49 +0100 |
commit | 13471e19a3195d8182f2c08af859e3cf0bdebfff (patch) | |
tree | b4a3f73939686285cc84c9dd6ee48ac6529395cd /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | 599d353938f52457b7c7e1ab7f223132bb353370 (diff) | |
download | llvm-13471e19a3195d8182f2c08af859e3cf0bdebfff.zip llvm-13471e19a3195d8182f2c08af859e3cf0bdebfff.tar.gz llvm-13471e19a3195d8182f2c08af859e3cf0bdebfff.tar.bz2 |
[mlir][tosa] Avoid requirement to specify enum name for enum attributes (#155695)
This commit updates the printer/parser of operations that use
enum type attributes such that they aren't required to specify
the full enum name e.g.
`rounding_mode = #tosa.rounding_mode<SINGLE_ROUND>` becomes
`rounding_mode = SINGLE_ROUND`.
For compatibility, text with #tosa.rounding_mode<...> will still be
accepted by the parser.
---------
Signed-off-by: Tai Ly <tai.ly@arm.com>
Co-authored-by: Annu Singh <annu4444.as@gmail.com>
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions