[llvm] [SPIRV] Change how to detect OpenCL/Vulkan Env and update tests accordingly. (PR #129689)

Marcos Maronas via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 12:02:32 PDT 2025


================
@@ -36,6 +36,10 @@ class StringRef;
 class SPIRVTargetMachine;
 
 class SPIRVSubtarget : public SPIRVGenSubtargetInfo {
+public:
+  // Enum for the SPIR-V environment: OpenCL, Vulkan or Unkwnown.
----------------
maarquitos14 wrote:

Thanks for the reminder! I forgot about it, it's fixed now.

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


More information about the llvm-commits mailing list