[llvm] Fix compress/decompress in LLVM Offloading API (PR #150064)
Jacob Lambert via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 12:07:11 PDT 2025
================
@@ -259,87 +291,278 @@ static std::string formatWithCommas(unsigned long long Value) {
return Num;
}
-llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
-CompressedOffloadBundle::decompress(llvm::MemoryBufferRef &Input,
- bool Verbose) {
- StringRef Blob = Input.getBuffer();
+Expected<std::unique_ptr<MemoryBuffer>>
+CompressedOffloadBundle::compress(compression::Params P,
----------------
lamb-j wrote:
Hmm, I'd lean toward waiting to add "compress" until the future API changes where it's needed.
But if you feel that it makes more sense to add both now, I'm ok with that
https://github.com/llvm/llvm-project/pull/150064
More information about the llvm-commits
mailing list