================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits