summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LoopTiling.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2019-02-14 11:01:08 -0800
committerjpienaar <jpienaar@google.com>2019-03-29 16:27:55 -0700
commit93d8f14c0fd82044318232fd2dfd28f8bd5d9752 (patch)
treed355becef7b19b9049e94b5434de10dfa718be7e /mlir/lib/Transforms/LoopTiling.cpp
parenteb3f8dcb935259db192be01587907ab47b35d199 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud