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

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


  Branch: refs/heads/users/ivanradanov/flang-workshare
  Home:   https://github.com/llvm/llvm-project
  Commit: d31ab4efe50d9d18ad5b48a837662da0ce494a82
      https://github.com/llvm/llvm-project/commit/d31ab4efe50d9d18ad5b48a837662da0ce494a82
  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
    M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
    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:
  -----------
  [flang] Lower omp.workshare to other omp constructs


  Commit: a8aeb2cf84dd2e96ee7a517c73dd67bf794c0953
      https://github.com/llvm/llvm-project/commit/a8aeb2cf84dd2e96ee7a517c73dd67bf794c0953
  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: 3e69ebec531c80abd3b1fe9f5f097b1aabd69438
      https://github.com/llvm/llvm-project/commit/3e69ebec531c80abd3b1fe9f5f097b1aabd69438
  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: b357c2fe9d1821e0c2697a0ab242e4fa80dee01d
      https://github.com/llvm/llvm-project/commit/b357c2fe9d1821e0c2697a0ab242e4fa80dee01d
  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: 131fb5cf35728f011162de128fad7260db62fc7c
      https://github.com/llvm/llvm-project/commit/131fb5cf35728f011162de128fad7260db62fc7c
  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: cbf1f098c029980ff0e1cd7ea7ecb4f7a51a4a2e
      https://github.com/llvm/llvm-project/commit/cbf1f098c029980ff0e1cd7ea7ecb4f7a51a4a2e
  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: d2a3d6284fb252632cae6ff15236036390de9953
      https://github.com/llvm/llvm-project/commit/d2a3d6284fb252632cae6ff15236036390de9953
  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: 52658b70cf90807232dfb963c0b5298a5465623c
      https://github.com/llvm/llvm-project/commit/52658b70cf90807232dfb963c0b5298a5465623c
  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: 2f7a8231b14985319df70f7042f9a76b9e2e3e64
      https://github.com/llvm/llvm-project/commit/2f7a8231b14985319df70f7042f9a76b9e2e3e64
  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: 466fff2536d2d38f9794fcda8c1596c759413de9
      https://github.com/llvm/llvm-project/commit/466fff2536d2d38f9794fcda8c1596c759413de9
  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: 681ccc72f50dfc0888174b6134b27846098b84d2
      https://github.com/llvm/llvm-project/commit/681ccc72f50dfc0888174b6134b27846098b84d2
  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: 7006c75f39c7636a6cb9d9e9b32cf85d9d8942a2
      https://github.com/llvm/llvm-project/commit/7006c75f39c7636a6cb9d9e9b32cf85d9d8942a2
  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


Compare: https://github.com/llvm/llvm-project/compare/386157c154d2...7006c75f39c7

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