[Mlir-commits] [flang] [mlir] [mlir][OpenMP] - Transform target offloading directives for easier translation to LLVMIR (PR #83966)
Pranav Bhandarkar
llvmlistbot at llvm.org
Wed Mar 6 20:14:51 PST 2024
================
@@ -0,0 +1,54 @@
+//===-- Passes.td - OpenMP pass definition file -------------*- tablegen -*-===//
----------------
bhandarkar-pranav wrote:
Thanks for the info @agozillon. @ergawy - Like you said, I kept this in mlir only because it isnt really flang specific and I anticipated that if I put it in flang someone might call me out for it. OTOH keeping it in flang would have made testcase generation easier as I'd have been able to load the `fir` dialect into the MLIR context. Now I had to rely on ``fir-opt`` to convert all ``fir`` ops to ``llvm`` dialect ops, but `fir-opt` is broken in a weird way such that I couldn't run ``fir-to-llvm-ir`` lowering to rid my testcases of ``fir`` ops. (Aside: I hope to find some time to chase down the `fir-opt` problem)
https://github.com/llvm/llvm-project/pull/83966
More information about the Mlir-commits
mailing list