[PATCH] D88735: [SLP] Also try to vectorize incoming values of PHIs .

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 04:48:03 PST 2020


uabelho added a comment.

Hi!
This seems to fail if one of the predecessors to the PHI block is dead and contain weird stuff e.g. like this:

  define void @foo() {
  bb.0:
    br label %bb.1
  
  dead:
    %tmp0 = add i16 %tmp0, undef
    br label %bb.1
  
  bb.1:
    %tmp1 = phi i16 [ undef, %bb.0 ], [ %tmp0, %dead ]
    ret void
  }


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88735/new/

https://reviews.llvm.org/D88735



More information about the llvm-commits mailing list