[all-commits] [llvm/llvm-project] e565db: [OpenMP][Opt] Delete terminating and read-only par...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sat Feb 8 16:53:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e565db49c648973bab1a5cad600858bebb4b9aa6
      https://github.com/llvm/llvm-project/commit/e565db49c648973bab1a5cad600858bebb4b9aa6
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-02-08 (Sat, 08 Feb 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    A llvm/test/Transforms/OpenMP/parallel_deletion.ll

  Log Message:
  -----------
  [OpenMP][Opt] Delete terminating and read-only parallel regions

Parallel regions known to be read-only, e.g., after we removed all dead
write accesses, and terminating (`willreturn`) can be removed.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D69954




More information about the All-commits mailing list