GeneraluseAI wrote:

Because ClangIR currently lacks a zext instruction, the lowering uses 
bool_to_int combined with an integer cast to reproduce the zero-extension 
behavior performed in the LLVM implementation. The resulting IR is semantically 
equivalent.
Please let me know if this approach looks reasonable or if you would prefer a 
different modeling here. @andykaylor 

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

Reply via email to