[all-commits] [llvm/llvm-project] 6c9813: [InstCombine] Check for poison instead of undef in...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 18 06:19:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c9813aa02ed8cbf518045e15787dce352e5e84d
      https://github.com/llvm/llvm-project/commit/6c9813aa02ed8cbf518045e15787dce352e5e84d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
    M llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll
    M llvm/test/Transforms/InstCombine/obfuscated_splat.ll
    M llvm/test/Transforms/InstCombine/trunc-extractelement.ll
    M llvm/test/Transforms/InstCombine/vec_shuffle.ll

  Log Message:
  -----------
  [InstCombine] Check for poison instead of undef in shuffle combine

Otherwise we may replace undef with poison.

Note that a lot of tests regressing here already have variants
that use poison instead of undef (often in a separate
inseltpoison file), which is why I'm not adjusting them to the
new pattern.




More information about the All-commits mailing list