[all-commits] [llvm/llvm-project] d09478: [flang][do concurrent] Use values yielded by `loca...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Mon Aug 25 01:54:02 PDT 2025


  Branch: refs/heads/users/ergawy/init_region_dc_boxchar
  Home:   https://github.com/llvm/llvm-project
  Commit: d09478a58b114ca4352225896dc38a976ff547ed
      https://github.com/llvm/llvm-project/commit/d09478a58b114ca4352225896dc38a976ff547ed
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/SimplifyFIROperations.cpp
    A flang/test/Transforms/do-concurrent-localizer-boxchar.fir

  Log Message:
  -----------
  [flang][do concurrent] Use values yielded by `local init` regions

Similar to what is done for OpenMP `private` clauses, prefer the value yielded from the init region to the allocated private variable in case the region is operating on arguments by-value (e.g. Fortran character boxes).



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