diff options
author | Jacques Pienaar <jpienaar@google.com> | 2020-06-22 14:56:54 -0700 |
---|---|---|
committer | Jacques Pienaar <jpienaar@google.com> | 2020-06-22 14:56:54 -0700 |
commit | ada0d41dbc26f013e2741d1f9e0f164943342435 (patch) | |
tree | 306dc90565aa32ed7969efc4e6b8c18bbae94b90 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 23654d9e7a29e6c051ba3122cc624d0199e81e73 (diff) | |
download | llvm-ada0d41dbc26f013e2741d1f9e0f164943342435.zip llvm-ada0d41dbc26f013e2741d1f9e0f164943342435.tar.gz llvm-ada0d41dbc26f013e2741d1f9e0f164943342435.tar.bz2 |
[mlir][ods] Allow filtering of ops
Add option to filter which op the OpDefinitionsGen run on. This enables having multiple ops together in the same TD file but generating different CC files for them (useful if one wants to use multiclasses or split out 1 dialect into multiple different libraries). There is probably more general query here (e.g., split out all ops that don't have a verify method, or that are commutative) but filtering based on op name (e.g., test.a_op) seemed a reasonable start and didn't require inventing a query specification mechanism here.
Differential Revision: https://reviews.llvm.org/D82319
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions