AmrDeveloper wrote:

I updated the case `__real__ a + __real__ b` to be handled using 
`ComplexRealOp` because we actually need the value, and it aligned with 
ComplexDialect, but I think for cases like RValue `__real__ c = 10;` or `int* 
rp = &__real__ c` we want the result of the op to be pointer and i think it 
will be better to keep the Real and Imag Ptr Op and not load the value then try 
to get the address of it and use it as pointer

@bcardosolopes @andykaylor 

https://github.com/llvm/llvm-project/pull/144235
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to