summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Analysis/AffineAnalysis.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2019-01-15 14:30:10 -0800
committerjpienaar <jpienaar@google.com>2019-03-29 15:19:26 -0700
commitb7dbfd04ebd80577f38f4922e857ad821b908ff1 (patch)
tree49b3031a420c9cc4922717f795c295afeea1e50b /mlir/lib/Analysis/AffineAnalysis.cpp
parentf9d2eb1c8c1d3678a78641d0786db59b4dcd14df (diff)
downloadbcm5719-llvm-b7dbfd04ebd80577f38f4922e857ad821b908ff1.tar.gz
bcm5719-llvm-b7dbfd04ebd80577f38f4922e857ad821b908ff1.zip
Const fold splat tensors for TFLite AddOp, SubOp, MulOp
The constant folding rules assumes value attributes of operands are already verified to be in good standing. For each op in the above, the constant folding rules support both integer and floating point cases. Broadcast behavior is also supported as per the semantics of TFLite ops. This CL does not handle overflow/underflow cases yet. PiperOrigin-RevId: 229441221
Diffstat (limited to 'mlir/lib/Analysis/AffineAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud