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

Ivan R. Ivanov via All-commits all-commits at lists.llvm.org
Sun Aug 18 21:02:10 PDT 2024


  Branch: refs/heads/users/ivanradanov/flang-workshare
  Home:   https://github.com/llvm/llvm-project
  Commit: 285604bec0798f44739db8ae83a16f395470fa16
      https://github.com/llvm/llvm-project/commit/285604bec0798f44739db8ae83a16f395470fa16
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 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/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

  Log Message:
  -----------
  [flang] Lower omp.workshare to other omp constructs


  Commit: ccc21f87809096a18b53035a7135bd533458710e
      https://github.com/llvm/llvm-project/commit/ccc21f87809096a18b53035a7135bd533458710e
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 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: efc9cf5292d11863e290a644de6d02f104c81eae
      https://github.com/llvm/llvm-project/commit/efc9cf5292d11863e290a644de6d02f104c81eae
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

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

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


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

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

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


  Commit: 4579520deea5882d0166a47bcf0b8a923d41caad
      https://github.com/llvm/llvm-project/commit/4579520deea5882d0166a47bcf0b8a923d41caad
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 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: f1f8bb968c425b409c84b4294ecbcf96a523ed77
      https://github.com/llvm/llvm-project/commit/f1f8bb968c425b409c84b4294ecbcf96a523ed77
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

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

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


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

  Changed paths:
    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: ed37fc3b0076a49de5bdbcc0264b7159115ce377
      https://github.com/llvm/llvm-project/commit/ed37fc3b0076a49de5bdbcc0264b7159115ce377
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 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: 70743545692339c1ed81e9caeacce5bc4f53fb8e
      https://github.com/llvm/llvm-project/commit/70743545692339c1ed81e9caeacce5bc4f53fb8e
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

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

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


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

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

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


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

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

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


  Commit: 985106181bae9630595ce31b298ad4f275d0c6ed
      https://github.com/llvm/llvm-project/commit/985106181bae9630595ce31b298ad4f275d0c6ed
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 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: e8bf1d08f3a56751ef5d71ff80969bce750f18cb
      https://github.com/llvm/llvm-project/commit/e8bf1d08f3a56751ef5d71ff80969bce750f18cb
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 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: b6ae2b39aa52588cb75c37b9ea4b378e9be43dd9
      https://github.com/llvm/llvm-project/commit/b6ae2b39aa52588cb75c37b9ea4b378e9be43dd9
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 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: f85adbab4b0db620765b36a5d481998bc666f413
      https://github.com/llvm/llvm-project/commit/f85adbab4b0db620765b36a5d481998bc666f413
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 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: c82cb8a7fcc7cce816a0f089fef6244b81b34864
      https://github.com/llvm/llvm-project/commit/c82cb8a7fcc7cce816a0f089fef6244b81b34864
  Author: Ivan Radanov Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2024-08-19 (Mon, 19 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


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

  Changed paths:
    M flang/test/HLFIR/bufferize-workshare.fir
    M flang/test/Transforms/OpenMP/lower-workshare.mlir
    M flang/test/Transforms/OpenMP/lower-workshare3.mlir
    M flang/test/Transforms/OpenMP/lower-workshare4.mlir

  Log Message:
  -----------
  Fix tests for custom assembly for loop wrapper


Compare: https://github.com/llvm/llvm-project/compare/f8834c9285df...0cb421627fa3

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