forked from OSchip/llvm-project
[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:
parent
db15e31212
commit
4b13b061ae
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue