[all-commits] [llvm/llvm-project] d893ed: [InstCombine][X86] Add undef arg handling for PMAD...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jun 28 04:12:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d893ed78718e25a982dcba9cdba2d78212b79353
      https://github.com/llvm/llvm-project/commit/d893ed78718e25a982dcba9cdba2d78212b79353
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll

  Log Message:
  -----------
  [InstCombine][X86] Add undef arg handling for PMADDWD/PMADDUBSW intrinsics

These fold to zero, not undef, as the other arg could still be zero.



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