[flang-commits] [flang] [Flang][OpenMP] Mark mergeable and untied clauses as unsupported (PR #71209)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Mon Nov 6 02:42:51 PST 2023


kiranchandramohan wrote:

Thanks @shraiysh. That is a good point. MLIR emitError messages during translation, would be detected as a failure by the Driver and then it does the default handling which is to issue a crash dump with segfault. In most cases (unlike OpenMP) an error in this stage (MLIR to LLVM translation) would mean something really bad has happened. To handle this appropriately, we will have to add an emitTODO into MLIR and then catch it appropriately in the Driver.
Since there is more than one component (MLIR, Flang Driver) involved, I think this might need a discussion. I would like to go forward with this patch for now

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


More information about the flang-commits mailing list