Currently, when performing __imag__ <int/float>
, in CIR, we emit a const 0 directly, and we want to make it clear that it's ComplexImagOp, so we can use that also in the analysis.
CIR ComplexRealOp & ComplexImagOp should accept ComplexElement type (int/real) as a valid type and use those ops directly without emitting temp ComplexCreateOp
Ref: #159916 (comment)