[all-commits] [llvm/llvm-project] 7f32ed: [X86] combineMulToPMADDWD - use ComputeMinSignedBi...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Nov 8 07:28:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f32edea23489f67967f8fc3048a50a30ae86f31
      https://github.com/llvm/llvm-project/commit/7f32edea23489f67967f8fc3048a50a30ae86f31
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] combineMulToPMADDWD - use ComputeMinSignedBits(). NFCI.

Use ComputeMinSignedBits() to ensure the mul source operands at least sign-extend down from the bottom 16 bits.

This will make it easier if/when we try to support handling of source types larger than 32-bits.




More information about the All-commits mailing list