Skip to content

Commit

Permalink
[mlir][complex] Sanity check for tan operation in complex dialect
Browse files Browse the repository at this point in the history
Add a sanity check for newly added tan operation in complex dialect. It follows-up to https://reviews.llvm.org/D126685.

Differential Revision: https://reviews.llvm.org/D126858
  • Loading branch information
Lewuathe authored and pifon2a committed Jun 2, 2022
1 parent db15e31 commit 4b13b06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mlir/test/Dialect/Complex/ops.mlir
Expand Up @@ -80,5 +80,8 @@ func.func @ops(%f: f32) {
// CHECK: complex.atan2 %[[C]], %[[C]] : complex<f32>
%atan2 = complex.atan2 %complex, %complex : complex<f32>

// CHECK: complex.tan %[[C]] : complex<f32>
%tan = complex.tan %complex : complex<f32>

return
}

0 comments on commit 4b13b06

Please sign in to comment.