[all-commits] [llvm/llvm-project] f81889: [VPlan] Fix convertToPhisToBlends folding non pois...

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Feb 10 08:16:19 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f81889da29eec1a70283986fc0a654b9d628157a
      https://github.com/llvm/llvm-project/commit/f81889da29eec1a70283986fc0a654b9d628157a
  Author: Luke Lau <luke at igalia.com>
  Date:   2026-02-10 (Tue, 10 Feb 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
    M llvm/test/Transforms/LoopVectorize/uniform-blend.ll

  Log Message:
  -----------
  [VPlan] Fix convertToPhisToBlends folding non poison blend to poison (#180686)

This fixes a miscompile in #180005 where we didn't check that the first
incoming value isn't poison.

We should use the first non-poison incoming value if it exists, or just
poison if all the incoming values are poison.



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