[all-commits] [llvm/llvm-project] 3fe69b: Improve llvm-config.h to record which target is co...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Fri Nov 3 11:01:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fe69bab1149e20f87ac31f8b2557baa88fcdd14
      https://github.com/llvm/llvm-project/commit/3fe69bab1149e20f87ac31f8b2557baa88fcdd14
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/include/llvm/Config/llvm-config.h.cmake

  Log Message:
  -----------
  Improve llvm-config.h to record which target is configured or not (#71164)

These macro can help guarding some tests and other section of code
which rely on detecting if a particular target is available. This
is common the MLIR codegeneration for GPU targets for example.




More information about the All-commits mailing list