[all-commits] [llvm/llvm-project] 09318c: [MLIR][OpenMP] Fix and simplify bounds offset calc...

agozillon via All-commits all-commits at lists.llvm.org
Thu Oct 30 16:54:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09318c6bffcfe9790d73469297833ef45876baa0
      https://github.com/llvm/llvm-project/commit/09318c6bffcfe9790d73469297833ef45876baa0
  Author: agozillon <Andrew.Gozillon at amd.com>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-record-type-with-ptr-member-host.mlir
    A offload/test/offloading/fortran/descriptor-array-slice-map.f90

  Log Message:
  -----------
  [MLIR][OpenMP] Fix and simplify bounds offset calculation for 1-D GEP offsets (#165486)

Currently this is being calculated incorrectly and will result in
incorrect index offsets in more complicated array slices. This PR tries
to address it by refactoring and changing the calculation to be more
correct.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list