[mlir][complex] Sanity check for tan operation in complex dialect

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
This commit is contained in:
lewuathe 2022-06-02 10:33:13 +02:00 committed by Alexander Belyaev
parent db15e31212
commit 4b13b061ae
1 changed files with 3 additions and 0 deletions

View File

@ -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
}