diff options
| author | Lei Zhang <antiagainst@google.com> | 2019-11-27 14:12:32 -0800 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-11-27 14:13:01 -0800 |
| commit | a4d7650230d6c7ad57866cc2904f4f6a56e61a08 (patch) | |
| tree | f795baa408615ac37f87548930dda4f943d41942 /mlir/lib/IR/FunctionSupport.cpp | |
| parent | d4e4387fbfde164c9655bc882d4102c321368d97 (diff) | |
| download | bcm5719-llvm-a4d7650230d6c7ad57866cc2904f4f6a56e61a08.tar.gz bcm5719-llvm-a4d7650230d6c7ad57866cc2904f4f6a56e61a08.zip | |
[spirv] NFC: Add getZero() and getOne() static method to ConstantOp
Getting constant zero or one is very common so it merits a special handy
method on spirv::ConstantOp itself.
PiperOrigin-RevId: 282832572
Diffstat (limited to 'mlir/lib/IR/FunctionSupport.cpp')
0 files changed, 0 insertions, 0 deletions

