jsjodin wrote:

In the Discourse discussion the interface solution was rejected. Instead the 
proposed solution is to use casts, so the best thing is to probably introduce a 
cast operation in CIR to handle this. Maybe something like cir.to_builtin_int 
might be useful. I could create a PR for this and we can discuss this further. 
I think only integers will be affected by this since there are interfaces for 
the other types afaik.

https://github.com/llvm/llvm-project/pull/196363
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to