turran wrote: > Or I guess we can go with the current design, behind a flag that indicates > you understand what you're doing, with the understanding that it isn't > standard-compliant, and only handles specifically the patterns that show up > in some subset of glib. Which is not at all pretty, but I guess it doesn't > break anyone else.
I added a new flag, `-fwasm-fix-function-bitcasts,` to enable the proposed behavior. I've been struggling with the implementation, and I'm not sure it is well done. The WASM-specific flags differ from other targets, so I preferred to be somewhat compatible with the others. Let me know if the implementation is correct. https://github.com/llvm/llvm-project/pull/153168 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
