[all-commits] [llvm/llvm-project] d7da0a: [MLIR][NVVM] Reduce the scope of the LLVM_HAS_NVPT...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Jul 2 02:31:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7da0ae4f46cb8731910cc30251105c88aeae12c
      https://github.com/llvm/llvm-project/commit/d7da0ae4f46cb8731910cc30251105c88aeae12c
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/GPU/Transforms/ModuleToBinary.cpp
    M mlir/lib/Target/LLVM/NVVM/Target.cpp

  Log Message:
  -----------
  [MLIR][NVVM] Reduce the scope of the LLVM_HAS_NVPTX_TARGET guard (#97349)

Most of the code here does not depend on the NVPTX target. In particular
the simple offload can just emit LLVM IR and we can use this without the
NVVM backend being built, which can be useful for a frontend that just
need to serialize the IR and leave it up to the runtime to JIT further.



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