[all-commits] [llvm/llvm-project] 046e83: Only emit omp loops for unordered loops

Ivan R. Ivanov via All-commits all-commits at lists.llvm.org
Sun Aug 4 01:40:00 PDT 2024


  Branch: refs/heads/users/ivanradanov/flang-workshare
  Home:   https://github.com/llvm/llvm-project
  Commit: 046e833eb9b8932ab6d56e377a060e6118baada2
      https://github.com/llvm/llvm-project/commit/046e833eb9b8932ab6d56e377a060e6118baada2
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/include/flang/Optimizer/CMakeLists.txt
    A flang/include/flang/Optimizer/OpenMP/CMakeLists.txt
    A flang/include/flang/Optimizer/OpenMP/Passes.h
    A flang/include/flang/Optimizer/OpenMP/Passes.td
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Frontend/CMakeLists.txt
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    M flang/lib/Optimizer/CMakeLists.txt
    A flang/lib/Optimizer/OpenMP/CMakeLists.txt
    A flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp
    A flang/test/HLFIR/bufferize-workshare.fir
    A flang/test/Transforms/OpenMP/lower-workshare.mlir
    M flang/tools/bbc/CMakeLists.txt
    M flang/tools/fir-opt/CMakeLists.txt
    M flang/tools/fir-opt/fir-opt.cpp
    M flang/tools/tco/CMakeLists.txt

  Log Message:
  -----------
  Only emit omp loops for unordered loops


  Commit: 174332e76460e29f8a17bbbb4f8612717c3c3000
      https://github.com/llvm/llvm-project/commit/174332e76460e29f8a17bbbb4f8612717c3c3000
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp
    M flang/test/HLFIR/bufferize-workshare.fir
    M flang/test/Transforms/OpenMP/lower-workshare.mlir

  Log Message:
  -----------
  Change to workshare loop wrapper op


  Commit: 3d2bf1a4abe348cabf61ff7eaf93dd4e12975195
      https://github.com/llvm/llvm-project/commit/3d2bf1a4abe348cabf61ff7eaf93dd4e12975195
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp

  Log Message:
  -----------
  Move single op declaration


  Commit: 2ad4803d213f091b70513f72bd719f60652be1e4
      https://github.com/llvm/llvm-project/commit/2ad4803d213f091b70513f72bd719f60652be1e4
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/include/flang/Tools/CLOptions.inc

  Log Message:
  -----------
  Schedule pass properly


  Commit: 28dc5dbc9355f78921991f4771adeb7901ba1220
      https://github.com/llvm/llvm-project/commit/28dc5dbc9355f78921991f4771adeb7901ba1220
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp

  Log Message:
  -----------
  Correctly handle nested nested loop nests to be parallelized by workshare


  Commit: 259a7edd3a401a07f15bacc6668c4cae792f3174
      https://github.com/llvm/llvm-project/commit/259a7edd3a401a07f15bacc6668c4cae792f3174
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp

  Log Message:
  -----------
  Leave comments for shouldUseWorkshareLowering


  Commit: 680c58692750ffb558d15056c15d16253e3c0ade
      https://github.com/llvm/llvm-project/commit/680c58692750ffb558d15056c15d16253e3c0ade
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/include/flang/Optimizer/OpenMP/Passes.h
    M flang/include/flang/Optimizer/OpenMP/Passes.td
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp

  Log Message:
  -----------
  Use copyprivate to scatter val from omp.single

TODO still need to implement copy function
TODO transitive check for usage outside of omp.single not imiplemented yet


  Commit: fd990f073e3ad73767824f80f048aee09e1d8601
      https://github.com/llvm/llvm-project/commit/fd990f073e3ad73767824f80f048aee09e1d8601
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp

  Log Message:
  -----------
  Transitively check for users outisde of single op

TODO need to implement copy func
TODO need to hoist allocas outside of single regions


  Commit: b485f0666edeb118de0276c01b37bcf05ea9e0e2
      https://github.com/llvm/llvm-project/commit/b485f0666edeb118de0276c01b37bcf05ea9e0e2
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp
    M flang/test/Transforms/OpenMP/lower-workshare.mlir

  Log Message:
  -----------
  Add tests


  Commit: 6251d8735eedaee18fb6ea2e7120060bb14cf2f0
      https://github.com/llvm/llvm-project/commit/6251d8735eedaee18fb6ea2e7120060bb14cf2f0
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp
    M flang/test/Transforms/OpenMP/lower-workshare.mlir

  Log Message:
  -----------
  Hoist allocas


  Commit: 15011b28cba4460588e47d35ccdf6e957a116731
      https://github.com/llvm/llvm-project/commit/15011b28cba4460588e47d35ccdf6e957a116731
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    A flang/test/Transforms/OpenMP/lower-workshare2.mlir

  Log Message:
  -----------
  More tests


  Commit: e48d86fb30f62fa017d4c3bc5e40adc57b67bae7
      https://github.com/llvm/llvm-project/commit/e48d86fb30f62fa017d4c3bc5e40adc57b67bae7
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp
    M flang/test/Transforms/OpenMP/lower-workshare.mlir

  Log Message:
  -----------
  Emit body for copy func


  Commit: bc71fb82ccd320d806a3963a38c2b071573ecaf6
      https://github.com/llvm/llvm-project/commit/bc71fb82ccd320d806a3963a38c2b071573ecaf6
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/test/Transforms/OpenMP/lower-workshare.mlir
    A flang/test/Transforms/OpenMP/lower-workshare3.mlir

  Log Message:
  -----------
  Test the tmp storing logic


  Commit: e21aeb89c96db3084e6cf7fcf5319befb0f77dae
      https://github.com/llvm/llvm-project/commit/e21aeb89c96db3084e6cf7fcf5319befb0f77dae
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp

  Log Message:
  -----------
  Add workshare loop wrapper lowerings


Compare: https://github.com/llvm/llvm-project/compare/fd782e969560...e21aeb89c96d

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