[all-commits] [llvm/llvm-project] 38dffb: [flang] Lower omp.workshare to other omp constructs

Ivan R. Ivanov via All-commits all-commits at lists.llvm.org
Sun Aug 4 06:08:32 PDT 2024


  Branch: refs/heads/users/ivanradanov/flang-workshare
  Home:   https://github.com/llvm/llvm-project
  Commit: 38dffb1e18d8d0bf427efef5cdd6625929514596
      https://github.com/llvm/llvm-project/commit/38dffb1e18d8d0bf427efef5cdd6625929514596
  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/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
    A flang/test/Transforms/OpenMP/lower-workshare5.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:
  -----------
  [flang] Lower omp.workshare to other omp constructs


  Commit: 6ca1ea66c347fa2c53ea010754861c2fb3069616
      https://github.com/llvm/llvm-project/commit/6ca1ea66c347fa2c53ea010754861c2fb3069616
  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: f3deaa7d70e68ed3c1d1b6a76fbbb470aa45a144
      https://github.com/llvm/llvm-project/commit/f3deaa7d70e68ed3c1d1b6a76fbbb470aa45a144
  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: a5a10210191e9fb6da79508eb30834a682a31e9f
      https://github.com/llvm/llvm-project/commit/a5a10210191e9fb6da79508eb30834a682a31e9f
  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: 3ad05db693844cfd494124dbc3b9133be3721404
      https://github.com/llvm/llvm-project/commit/3ad05db693844cfd494124dbc3b9133be3721404
  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: 0513b04971e11875dfea6f76f9bec2f80f500387
      https://github.com/llvm/llvm-project/commit/0513b04971e11875dfea6f76f9bec2f80f500387
  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: c2ae97a724f41f89f62d7552544141db9e8cbf06
      https://github.com/llvm/llvm-project/commit/c2ae97a724f41f89f62d7552544141db9e8cbf06
  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: 8251d19e00f43c8fa3d2d6f76a926f10678a2db2
      https://github.com/llvm/llvm-project/commit/8251d19e00f43c8fa3d2d6f76a926f10678a2db2
  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: 464b91d7884570e8cc683244ac47a40a5deb81c0
      https://github.com/llvm/llvm-project/commit/464b91d7884570e8cc683244ac47a40a5deb81c0
  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: cf537f09eb4770bc9c91f39728591f537b63c789
      https://github.com/llvm/llvm-project/commit/cf537f09eb4770bc9c91f39728591f537b63c789
  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: cc8a5c8a98931769d4a1bc6546bd042b82a1102e
      https://github.com/llvm/llvm-project/commit/cc8a5c8a98931769d4a1bc6546bd042b82a1102e
  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: 8fcfb238f4cb0eda1dbab22b26241cf26f8d6d56
      https://github.com/llvm/llvm-project/commit/8fcfb238f4cb0eda1dbab22b26241cf26f8d6d56
  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: 9ec9ba81b574b9d239c2fa5b73bc777ac0b8875f
      https://github.com/llvm/llvm-project/commit/9ec9ba81b574b9d239c2fa5b73bc777ac0b8875f
  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: 63f07c9af4448f302f0bd05a327b3538ab76933c
      https://github.com/llvm/llvm-project/commit/63f07c9af4448f302f0bd05a327b3538ab76933c
  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


  Commit: e3c2884b9fbd2b24e64cbaf2b0581750132216a8
      https://github.com/llvm/llvm-project/commit/e3c2884b9fbd2b24e64cbaf2b0581750132216a8
  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-workshare3.mlir
    A flang/test/Transforms/OpenMP/lower-workshare4.mlir

  Log Message:
  -----------
  Clean up trivially dead ops


  Commit: 058fb573f8b86ab3832407f42770982fcd341b0f
      https://github.com/llvm/llvm-project/commit/058fb573f8b86ab3832407f42770982fcd341b0f
  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
    M flang/test/Transforms/OpenMP/lower-workshare4.mlir

  Log Message:
  -----------
  Only handle single-block regions for now


Compare: https://github.com/llvm/llvm-project/compare/7af84b289143...058fb573f8b8

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