jhuber6 wrote: So, easy solution is to just hack in some special detection for `-Xarch` LTO. That would give the control without modifying the status quo. A better but more destructive solution would be to deprecate `-foffload-lto` and alias it to `-Xarch_device -flto` and have `-flto` enable it for both host / device.
https://github.com/llvm/llvm-project/pull/202986 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
