llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[MLIR][OpenMP] Lower only target related pragmas for GPU MLIR

Open DominikAdamski opened this issue 2 years ago • 0 comments

Flang generates two MLIR files for target-related pragmas: the host MLIR and the GPU MLIR. If a given source function contains both host and target-related pragmas, we must ensure that we do not lower the host-related pragmas for the GPU MLIR.

DominikAdamski avatar Feb 22 '24 15:02 DominikAdamski