[llvm] [mlir] [mlir][nvvm] Expose MLIR_NVPTXCOMPILER_ENABLED in mlir-config.h. (PR #84007)

Peiming Liu via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 11:18:22 PST 2024


PeimingLiu wrote:

> On first thought, that doesn't sound plausible. How are the two macros related? If you're using cmake, then it is most likely rather caused by #84011.
> 
> I am not sure about this specific case. Very generally, we either need to define the macro, either in a file or through the compiler/cmake/bazel, or turn the `#if` into `#ifdef`.

Sorry, I commented on the wrong PR, it should be caused by https://github.com/llvm/llvm-project/pull/84011

https://github.com/llvm/llvm-project/pull/84007


More information about the llvm-commits mailing list