aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2021-03-23 13:44:14 -0700
committerRiver Riddle <riddleriver@gmail.com>2021-03-23 14:05:33 -0700
commit76f3c2f3f34a2be05e5970f7413c6929541fd219 (patch)
tree56cb1045ff64da8640e9118c03b1e3538b84b2b0 /lldb/source/Plugins/ScriptInterpreter/Python
parent782c534117d1a600b054475c804ba2766e6e154c (diff)
downloadllvm-76f3c2f3f34a2be05e5970f7413c6929541fd219.zip
llvm-76f3c2f3f34a2be05e5970f7413c6929541fd219.tar.gz
llvm-76f3c2f3f34a2be05e5970f7413c6929541fd219.tar.bz2
[mlir][Pattern] Add better support for using interfaces/traits to match root operations in rewrite patterns
To match an interface or trait, users currently have to use the `MatchAny` tag. This tag can be quite problematic for compile time for things like the canonicalizer, as the `MatchAny` patterns may get applied to *every* operation. This revision adds better support by bucketing interface/trait patterns based on which registered operations have them registered. This means that moving forward we will only attempt to match these patterns to operations that have this interface registered. Two simplify defining patterns that match traits and interfaces, two new utility classes have been added: OpTraitRewritePattern and OpInterfaceRewritePattern. Differential Revision: https://reviews.llvm.org/D98986
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions