diff options
author | Krzysztof Drewniak <krzysdrewniak@gmail.com> | 2025-03-11 10:21:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-11 10:21:33 -0500 |
commit | f3e55944a9468842746467494dd89724a66fc533 (patch) | |
tree | 0f22568598e11ee225774908dd752a11026c3196 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b334321678d4df2d8b1572301c827cae4d4097e2 (diff) | |
download | llvm-f3e55944a9468842746467494dd89724a66fc533.zip llvm-f3e55944a9468842746467494dd89724a66fc533.tar.gz llvm-f3e55944a9468842746467494dd89724a66fc533.tar.bz2 |
[mlir][ODS] Switch declarative rewrite rules to properties structs (#124876)
Now that we have collective builders that take
`const [RelevantOp]::Properties &` arguments, we don't need to serialize
all the attributes that'll be set during an output pattern into a
dictionary attribute. Similarly, we can use the properties struct to get
the attributes instead of needing to go through the big if statement in
getAttrOfType<>().
This also enables us to have declarative rewrite rules that match
non-attribute properties in a future PR.
This commit also adds a basic test for the generated matchers since
there didn't seem to already be one.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions