[all-commits] [llvm/llvm-project] f78b1a: [InstCombine] Add test for #92887 (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue May 21 06:00:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f78b1a40864470f7eb30dfda44a6ea8e845346a5
      https://github.com/llvm/llvm-project/commit/f78b1a40864470f7eb30dfda44a6ea8e845346a5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/vec_shuffle.ll

  Log Message:
  -----------
  [InstCombine] Add test for #92887 (NFC)


  Commit: 263224e4481b0850539a93a272184aac4abe86d4
      https://github.com/llvm/llvm-project/commit/263224e4481b0850539a93a272184aac4abe86d4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/vec_shuffle.ll

  Log Message:
  -----------
  [InstCombine] Require poison operand in canEvaluateShuffled transform

This transform works on single-source shuffles, which require that
the second operand is poison, not undef. Otherwise we may convert
undef to poison.

Fixes https://github.com/llvm/llvm-project/issues/92887.


Compare: https://github.com/llvm/llvm-project/compare/558f3ea4aef7...263224e4481b

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