[clang] [llvm] [Clang] Lift HIPSPV onto the new offload driver (PR #168043)

Henry Linjamäki via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 16 08:00:03 PST 2026


================
@@ -409,8 +409,19 @@ fatbinary(ArrayRef<std::pair<StringRef, StringRef>> InputFiles,
 } // namespace nvptx
 
 namespace amdgcn {
+
+// Constructs a triple string for clang offload bundler.
+// NOTE: copied from HIPUtility.cpp.
+static std::string normalizeForBundler(const llvm::Triple &T,
----------------
linehill wrote:

Seems reasonable to me. I think, it's OK for chipStar to use the packager but I'll wait until AMD switches to it first.

https://github.com/llvm/llvm-project/pull/168043


More information about the cfe-commits mailing list