diff options
| author | Alexander Belyaev <pifon@google.com> | 2019-10-11 05:13:18 -0700 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-10-11 05:13:55 -0700 |
| commit | 00d2a37e32067a6b41d16d605dfeb8637cc4cfbb (patch) | |
| tree | 7d9480f9f6b8bea3779f7c5f109ddb972ef9a063 /mlir/test/Conversion/StandardToLLVM | |
| parent | 304e44a6b0eab92114761a50d36bbe6cc371ec10 (diff) | |
| download | bcm5719-llvm-00d2a37e32067a6b41d16d605dfeb8637cc4cfbb.tar.gz bcm5719-llvm-00d2a37e32067a6b41d16d605dfeb8637cc4cfbb.zip | |
Add unary ops and ExpOp to Standard Dialect.
PiperOrigin-RevId: 274152154
Diffstat (limited to 'mlir/test/Conversion/StandardToLLVM')
| -rw-r--r-- | mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir b/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir index 5fd51bd1f06..fb23a76cf25 100644 --- a/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir +++ b/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir @@ -421,6 +421,8 @@ func @ops(f32, f32, i32, i32) -> (f32, i32) { %12 = or %arg2, %arg3 : i32 // CHECK-NEXT: %12 = llvm.xor %arg2, %arg3 : !llvm.i32 %13 = xor %arg2, %arg3 : i32 +// CHECK-NEXT: %13 = "llvm.intr.exp"(%arg0) : (!llvm.float) -> !llvm.float + %14 = std.exp %arg0 : f32 return %0, %4 : f32, i32 } |

