[all-commits] [llvm/llvm-project] 234e46: [cuda][flang] Diagnose missing CUDA intrinsic modu...

Zhen Wang via All-commits all-commits at lists.llvm.org
Mon Jun 1 08:46:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 234e46a14635cb1b76e4852fc49a3407f6d87a1b
      https://github.com/llvm/llvm-project/commit/234e46a14635cb1b76e4852fc49a3407f6d87a1b
  Author: Zhen Wang <zhenw at nvidia.com>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M flang/include/flang/Semantics/semantics.h
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/semantics.cpp
    A flang/test/Semantics/cuf-missing-intrinsic-modules.cuf

  Log Message:
  -----------
  [cuda][flang] Diagnose missing CUDA intrinsic modules in Flang semantics (#200509)

- Replace CUDA intrinsic module `CHECK`s with actionable diagnostics
when `cudadevice` or `__cuda_builtins` cannot be read.
- Avoid dereferencing missing CUDA module scopes during implicit CUDA
symbol import.
- Add a semantics test covering the missing CUDA intrinsic module
diagnostic.



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