[all-commits] [llvm/llvm-project] 360ab7: [SimplifyCFG] Do not create unneeded PR Phi in blo...

max-azul via All-commits all-commits at lists.llvm.org
Tue Jul 21 23:54:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 360ab707127d7f1718cf0fe0520b5a38ef207bc1
      https://github.com/llvm/llvm-project/commit/360ab707127d7f1718cf0fe0520b5a38ef207bc1
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M clang/test/CodeGenOpenCL/convergent.cl
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/convergent.ll

  Log Message:
  -----------
  [SimplifyCFG] Do not create unneeded PR Phi in block with convergent calls

We do not thread blocks with convergent calls, but this check was missing
when we decide to insert PR Phis into it (which we only do for threading).

Differential Revision: https://reviews.llvm.org/D83936
Reviewed By: nikic




More information about the All-commits mailing list