DarkShadow44 added a comment. @akhuang Any update on this? I'd love to see this upstreamed. I'd offer to help, but I'm not well versed in clang.
FWIW, I also found a small bug when using this patchset: void func1(void * __ptr32 test) { } int main() { func1(0); return 0; } gives fatal error: error in backend: Cannot emit physreg copy instruction This only happens when passing a 0. If you pass 1, for example, it gives a warning (because of no cast) but compiles. Tested against MSCV, which compiles the code without problems. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D66827/new/ https://reviews.llvm.org/D66827 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits