[PATCH] D119578: [X86] selectLEAAddr - add X86ISD::SMUL/UMULO handling

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 11 12:40:40 PST 2022


RKSimon created this revision.
RKSimon added reviewers: pengfei, spatel, craig.topper, lebedev.ri.
Herald added a subscriber: hiraditya.
RKSimon requested review of this revision.
Herald added a project: LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119578

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119578.407994.patch
Type: text/x-patch
Size: 32006 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220211/578c12bd/attachment-0001.bin>


More information about the llvm-commits mailing list