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

Alexey Bader via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 09:08:46 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.
----------------
bader wrote:

Please, fix the typo in the code comment. You can just apply my suggestion.

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


More information about the llvm-commits mailing list