[all-commits] [llvm/llvm-project] 3f22a4: [X86] selectLEAAddr - add X86ISD::SMUL/UMULO handling

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Feb 17 05:51:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f22a4962dafe2718a92b3cd9b5be4a6fcc83b77
      https://github.com/llvm/llvm-project/commit/3f22a4962dafe2718a92b3cd9b5be4a6fcc83b77
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-17 (Thu, 17 Feb 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/test/CodeGen/X86/select-lea.ll
    M llvm/test/CodeGen/X86/umul_fix_sat.ll
    M llvm/test/CodeGen/X86/umulo-128-legalisation-lowering.ll
    M llvm/test/CodeGen/X86/umulo-64-legalisation-lowering.ll
    M llvm/test/CodeGen/X86/vec_umulo.ll
    M llvm/test/CodeGen/X86/xmulo.ll

  Log Message:
  -----------
  [X86] selectLEAAddr - add X86ISD::SMUL/UMULO handling

After D118128 relaxed the heuristic to require only one EFLAGS generating operand, it now makes sense to avoid X86ISD::SMUL/UMULO duplication as well.

Differential Revision: https://reviews.llvm.org/D119578




More information about the All-commits mailing list