[flang-commits] [flang] [mlir] [Flang][OpenMP] Fix to resolve the crash with SIMD aligned clause. (PR #150612)
Kaviya Rajendiran via flang-commits
flang-commits at lists.llvm.org
Thu Jul 31 04:21:02 PDT 2025
kaviya2510 wrote:
Hi Tom,
Initially, I emitted a warning during flang semantic checks and in the OpenMP MLIR verifier, so that non-Flang users of OpenMP would also be notified when a non power of two alignment value is ignored.
Later, I revised the implementation because OpenMP specification does not explicitly state that non-power-of-two alignment values should be ignored. With that in mind, I handled emitting the warning in MLIR to LLVM IR translation phase.
@kiranchandramohan , I hope this aligns with your suggestion. Kindly share your thoughts if you have any additional suggestions. Thankyou.
https://github.com/llvm/llvm-project/pull/150612
More information about the flang-commits
mailing list