[all-commits] [llvm/llvm-project] ed7cee: [Driver] Test ignored target-specific options for ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jan 24 10:06:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed7cee90f7849594ba9a3ebc2271cb9b5d172004
      https://github.com/llvm/llvm-project/commit/ed7cee90f7849594ba9a3ebc2271cb9b5d172004
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    A clang/test/Driver/unsupported-option-gpu.c

  Log Message:
  -----------
  [Driver] Test ignored target-specific options for AMDGPU/NVPTX (#79222)

Fix missing test coverage after #70740 #70760

When compiling for CUDA/HIP, the driver creates a cc1 job to compile for
amdgcn/nvptx triple using most options.
Certain target-specific options should be ignored, not lead to an error
(`err_drv_unsupported_opt_for_target`).




More information about the All-commits mailing list