diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2024-07-02 11:31:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 11:31:12 +0200 |
commit | d7da0ae4f46cb8731910cc30251105c88aeae12c (patch) | |
tree | 4beb6c95ccbf73a10e31b3aae46ca1452be7daca /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 54811a9b1194d8239cc28c2a974228ffadf80100 (diff) | |
download | llvm-d7da0ae4f46cb8731910cc30251105c88aeae12c.zip llvm-d7da0ae4f46cb8731910cc30251105c88aeae12c.tar.gz llvm-d7da0ae4f46cb8731910cc30251105c88aeae12c.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions