diff options
author | Thomas Raoux <thomasraoux@google.com> | 2020-12-03 23:44:36 -0800 |
---|---|---|
committer | Thomas Raoux <thomasraoux@google.com> | 2020-12-04 09:53:01 -0800 |
commit | 3e3e276d22ca6917a721c4173b00b37850d8020c (patch) | |
tree | 6778793fecb5c8aef8e4f6c6c441eb29a556cdd4 /llvm/lib/Support/JSON.cpp | |
parent | 840e651dc6d7fe652667eb8b4d04ef4daf4769df (diff) | |
download | llvm-3e3e276d22ca6917a721c4173b00b37850d8020c.zip llvm-3e3e276d22ca6917a721c4173b00b37850d8020c.tar.gz llvm-3e3e276d22ca6917a721c4173b00b37850d8020c.tar.bz2 |
[mlir][vector][NFC] Change UnrollVectorPattern to not be statically dependent on an op type
Make UnrollVectorPattern inherit from RewritePattern instead of
OpRewritePattern so that we don't need to create many patterns when applying to
many different type of ops. Since we may want to apply the pattern to all
arithmetic op, it is more convenient to filter dynamically.
Differential Revision: https://reviews.llvm.org/D92635
Diffstat (limited to 'llvm/lib/Support/JSON.cpp')
0 files changed, 0 insertions, 0 deletions