summaryrefslogtreecommitdiffstats
path: root/mlir/lib/IR/FunctionSupport.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2019-11-27 14:12:32 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-11-27 14:13:01 -0800
commita4d7650230d6c7ad57866cc2904f4f6a56e61a08 (patch)
treef795baa408615ac37f87548930dda4f943d41942 /mlir/lib/IR/FunctionSupport.cpp
parentd4e4387fbfde164c9655bc882d4102c321368d97 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud