[clang] [llvm] [Clang] Support `--offload-compress` for offload binaries (PR #227765)
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 2 20:57:34 PDT 2026
================
@@ -9697,6 +9699,8 @@ void OffloadPackager::ConstructJob(Compilation &C, const JobAction &JA,
CmdArgs.push_back(Args.MakeArgString("--image=" + llvm::join(Parts, ",")));
}
+ addOffloadCompressArgs(Args, CmdArgs);
----------------
yxsamliu wrote:
In normal HIP non-RDC builds, the wrapper immediately decompresses this temporary package, then compresses the final bundle. Could we skip compression for the temporary package?
https://github.com/llvm/llvm-project/pull/227765
More information about the cfe-commits
mailing list