Add rsqrt op to Standard dialect and lower it to LLVM dialect.
authorAdrian Kuegel <akuegel@google.com>
Fri, 28 Feb 2020 14:57:38 +0000 (15:57 +0100)
committerAdrian Kuegel <akuegel@google.com>
Wed, 4 Mar 2020 12:13:31 +0000 (13:13 +0100)
commit91acb5b3e1c372895f7f6fa9f5cf95bf80c2ae0b
tree94bb1c7cfa20768ed27ad9170c8ddf8088eb5c91
parentbddab9285812e060c776233fc779654c1447f9e0
Add rsqrt op to Standard dialect and lower it to LLVM dialect.

Summary:
This adds an rsqrt op to the standard dialect, and lowers
it as 1 / sqrt to the LLVM dialect.

Differential Revision: https://reviews.llvm.org/D75353
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
mlir/test/IR/core-ops.mlir