[all-commits] [llvm/llvm-project] 557a0b: [InstCombine] Add test for splat shuffle miscompil...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 557a0be3af798cf55b1ef54fc98a84fa5a4ade42
      https://github.com/llvm/llvm-project/commit/557a0be3af798cf55b1ef54fc98a84fa5a4ade42
  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 splat shuffle miscompile (NFC)


  Commit: ecd269e8305330c185bbedbd5a59e887122333ba
      https://github.com/llvm/llvm-project/commit/ecd269e8305330c185bbedbd5a59e887122333ba
  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] Check for poison instead of undef in splat shuffle fold

We can't canonicalize these to a splat shuffle, as doing so would
convert undef -> poison.


Compare: https://github.com/llvm/llvm-project/compare/c1b5b7c19b76...ecd269e83053

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