================
@@ -91,7 +91,8 @@ SPIRVSubtarget::SPIRVSubtarget(const Triple &TT, const 
std::string &CPU,
   if (TargetTriple.getOS() == Triple::Vulkan)
     Env = Shader;
   else if (TargetTriple.getOS() == Triple::OpenCL ||
-           TargetTriple.getVendor() == Triple::AMD)
+           TargetTriple.getVendor() == Triple::AMD ||
+           TargetTriple.getOS() == Triple::ChipStar)
----------------
pvelesko wrote:

> doesn't matter unless/until chipStar adds a driver backend that requires 
> Vulkan

I have a branch that converts our generated SPIRV from OpenCL to Vulkan SPIRV. 
This is for simplifying integration with clvk - converting SPIRV to Vulkan 
SPIRV on our side allows us to bypass the clspv component of clvk. 

Not sure if this is something that will ever get merged or how that would 
affect llvm if so. 

@linehill 

https://github.com/llvm/llvm-project/pull/186972
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to