[all-commits] [llvm/llvm-project] 48b753: [clang][flang][Triple][llvm] Add isOffload functio...

Nick Sarnie via All-commits all-commits at lists.llvm.org
Fri Mar 28 07:19:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48b753027382a5815295d6680c7dd407be936c86
      https://github.com/llvm/llvm-project/commit/48b753027382a5815295d6680c7dd407be936c86
  Author: Nick Sarnie <nick.sarnie at intel.com>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.h
    M clang/lib/AST/Decl.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Lower/OpenMP/omp-is-gpu.f90
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp

  Log Message:
  -----------
  [clang][flang][Triple][llvm] Add isOffload function to LangOpts and isGPU function to Triple (#126956)

I'm adding support for SPIR-V, so let's consolidate these checks.

---------

Signed-off-by: Sarnie, Nick <nick.sarnie at intel.com>



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