diff options
author | River Riddle <riverriddle@google.com> | 2019-10-03 23:10:25 -0700 |
---|---|---|
committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-10-03 23:10:51 -0700 |
commit | 5830f71a45df33e24c864bea4c5de070be47b488 (patch) | |
tree | a10efe1ce637e9995cf3a4033d1b17533e6d0069 /mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | |
parent | a20d96e436272b52d36f52c4a07c86ed285502e9 (diff) | |
download | bcm5719-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/Dialect/GPU/IR/GPUDialect.cpp')
0 files changed, 0 insertions, 0 deletions