[all-commits] [llvm/llvm-project] 8f1e24: [Clang] diagnosing missing Vulkan environment when...

PrabbyDD via All-commits all-commits at lists.llvm.org
Sat Apr 18 01:30:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f1e24a207294f6454aa79ac9389c1093654cee5
      https://github.com/llvm/llvm-project/commit/8f1e24a207294f6454aa79ac9389c1093654cee5
  Author: PrabbyDD <147005742+PrabbyDD at users.noreply.github.com>
  Date:   2026-04-18 (Sat, 18 Apr 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/lib/Basic/Targets/SPIR.h
    A clang/test/Frontend/spirv-target-validation.c

  Log Message:
  -----------
  [Clang] diagnosing missing Vulkan environment when using SPIR-V triple (#190840)

When a user passes '-target spirv' without specififying a vulkan
environment ttriple, SPIRVTargetInfo will fire an assert instead of
throwing an error diagnostic. Added this diagnostic in
CompilerInstance::createTarget() before target is initialized. Fixes
https://github.com/llvm/llvm-project/issues/189964



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list