shiltian wrote: > I am wondering if it would be easier to provide generic builtins in clang and > just codegen them. I guess in that case we'd just upscale everything to > 64-bit and say "If you need the other one use the target specific version".
I'm not sure if that's a good idea. For simple cases where there is a 1:1 mapping, it would be just fine. It's gonna be more difficult to implements things in codegen than in high level languages. https://github.com/llvm/llvm-project/pull/110179 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits