[all-commits] [llvm/llvm-project] 29b566: [NewGVN] Abort PHIOfOps if singleton PHI is found

ManuelJBrito via All-commits all-commits at lists.llvm.org
Tue Jul 18 02:22:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29b5666fdbefc3d2f74945f02e939ca670c295b2
      https://github.com/llvm/llvm-project/commit/29b5666fdbefc3d2f74945f02e939ca670c295b2
  Author: ManuelJBrito <manuel.brito at tecnico.ulisboa.pt>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/NewGVN.cpp

  Log Message:
  -----------
  [NewGVN] Abort PHIOfOps if singleton PHI is found

Currently we just bypass singleton phis, however we know that
in order to create the phi of ops all phis must be in the same block.
Therefore if one phi is a singleton then the rest are as well.

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




More information about the All-commits mailing list