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

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


  Branch: refs/heads/users/ergawy/init_region_dc_boxchar
  Home:   https://github.com/llvm/llvm-project
  Commit: db344117594d83b5006a2d177c9dec5f60b42fcc
      https://github.com/llvm/llvm-project/commit/db344117594d83b5006a2d177c9dec5f60b42fcc
  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