llvm-project
llvm-project copied to clipboard
[MLIR][OpenMP] Lower only target related pragmas for GPU MLIR
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.