[clang] [Clang] Lift HIPSPV onto the new offload driver (PR #168043)
Henry Linjamäki via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 4 01:37:14 PST 2025
================
@@ -6990,6 +6990,12 @@ const ToolChain &Driver::getToolChain(const ArgList &Args,
break;
case llvm::Triple::spirv32:
case llvm::Triple::spirv64:
+ if (Target.getOSName() == "hipspv" ||
----------------
linehill wrote:
I'll introduce new enums to the Triple. I'm guessing that'll need a separate PR.
> @linehill can we just add a chipstar OS enum? I think it's a better name also than 'hipspv' now.
Did you see the next line? The is a check for "chipstar" OS. The "hipspv" OS preserves the pre-existing HIPSPV toolchain behavior while the "chipstar" adjusts HIPSPV toolchain for the chipStar.
https://github.com/llvm/llvm-project/pull/168043
More information about the cfe-commits
mailing list