diff options
| author | Lei Zhang <antiagainst@google.com> | 2019-02-14 11:01:08 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 16:27:55 -0700 |
| commit | 93d8f14c0fd82044318232fd2dfd28f8bd5d9752 (patch) | |
| tree | d355becef7b19b9049e94b5434de10dfa718be7e /mlir/lib/Transforms/LoopTiling.cpp | |
| parent | eb3f8dcb935259db192be01587907ab47b35d199 (diff) | |
| download | bcm5719-llvm-93d8f14c0fd82044318232fd2dfd28f8bd5d9752.tar.gz bcm5719-llvm-93d8f14c0fd82044318232fd2dfd28f8bd5d9752.zip | |
[TFLite] Fuse AddOp into preceding convolution ops
If we see an add op adding a constant value to a convolution op with constant
bias, we can fuse the add into the convolution op by constant folding the
bias and the add op's constant operand.
This CL also removes dangling RewriterGen check that prevents us from using
nested DAG nodes in result patterns, which is already supported.
PiperOrigin-RevId: 233989654
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
0 files changed, 0 insertions, 0 deletions

