summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Quantizer/Support/UniformSolvers.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riverriddle@google.com>2019-10-03 23:10:25 -0700
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-10-03 23:10:51 -0700
commit5830f71a45df33e24c864bea4c5de070be47b488 (patch)
treea10efe1ce637e9995cf3a4033d1b17533e6d0069 /mlir/lib/Quantizer/Support/UniformSolvers.cpp
parenta20d96e436272b52d36f52c4a07c86ed285502e9 (diff)
downloadbcm5719-llvm-5830f71a45df33e24c864bea4c5de070be47b488.tar.gz
bcm5719-llvm-5830f71a45df33e24c864bea4c5de070be47b488.zip
Add support for inlining calls with different arg/result types from the callable.
Some dialects have implicit conversions inherent in their modeling, meaning that a call may have a different type that the type that the callable expects. To support this, a hook is added to the dialect interface that allows for materializing conversion operations during inlining when there is a mismatch. A hook is also added to the callable interface to allow for introspecting the expected result types. PiperOrigin-RevId: 272814379
Diffstat (limited to 'mlir/lib/Quantizer/Support/UniformSolvers.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud