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

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 28 08:24:56 PST 2025


Henry =?utf-8?q?Linjamäki?= <henry.mikael.linjamaki at intel.com>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>,
Henry =?utf-8?q?Linjamäki?= <henry.linjamaki at tuni.fi>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/168043 at github.com>


================
@@ -6990,6 +6990,12 @@ const ToolChain &Driver::getToolChain(const ArgList &Args,
         break;
       case llvm::Triple::spirv32:
       case llvm::Triple::spirv64:
+        if (Target.getOSName() == "hipspv" ||
----------------
jhuber6 wrote:

I guess my concern is that we should not need to do string comparisons off of triple based things. Do we not have enum values for these?

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


More information about the cfe-commits mailing list