[Mlir-commits] [clang] [mlir] [MLIR][OpenMP] Add OpenMP_IntLikeTypeInterface to allow other dialect inputs to omp ops (PR #196363)
Jan Leyonberg
llvmlistbot at llvm.org
Fri May 8 11:08:16 PDT 2026
jsjodin wrote:
> Why did you decide to opt for a new interface instead of just converting the CIR integers into mlir intrinsic integer types?
>
> I'm worried that with this verifier change, you could have valid OpenMP dialect code using types which are not supported by the translation to LLVM-IR
When constructing CIR/OMP the types used are defined in CIR which we cannot avoid when constructing the OMP operations since everything is happening at once in the front-end. They do get lowered to the LLVM IR dialect before the OMP operations are lowered to LLVM-IR, so there should be no issues regarding unsupported types.
https://github.com/llvm/llvm-project/pull/196363
More information about the Mlir-commits
mailing list