[all-commits] [llvm/llvm-project] 6eb47b: [InstCombine] Migrate undef -> poison only for cer...

Sean Clarke via All-commits all-commits at lists.llvm.org
Sat Jun 6 07:56:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6eb47bb35bed321cbed22f46de4e301152dbe544
      https://github.com/llvm/llvm-project/commit/6eb47bb35bed321cbed22f46de4e301152dbe544
  Author: Sean Clarke <seanedwardsclarke at gmail.com>
  Date:   2026-06-06 (Sat, 06 Jun 2026)

  Changed paths:
    M llvm/include/llvm/IR/PatternMatch.h
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/fpextend.ll
    M llvm/test/Transforms/InstCombine/vector-casts-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/vector-casts.ll

  Log Message:
  -----------
  [InstCombine] Migrate undef -> poison only for certain cast-related optimizations (#201631)

Further deprecate UndefValue by restricting several related
optimizations in InstCombineCasts to PoisonValue only. Update regression
tests to reflect these changes.



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