[PATCH] D141113: [X86] Improve mul x, 2^N +/- 2 pattern by making the +/- 2x compute independently to x << N

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 20:54:24 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG4196ca3278f7: [X86] Improve mul x, 2^N +/- 2 pattern by making the +/- 2x computeā€¦ (authored by goldstein.w.n, committed by pengfei).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141113/new/

https://reviews.llvm.org/D141113

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/mul-constant-i16.ll
  llvm/test/CodeGen/X86/mul-constant-i32.ll
  llvm/test/CodeGen/X86/mul-constant-i64.ll
  llvm/test/CodeGen/X86/mul-constant-i8.ll
  llvm/test/CodeGen/X86/mul-constant-result.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141113.488857.patch
Type: text/x-patch
Size: 20803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230113/7f8729ba/attachment.bin>


More information about the llvm-commits mailing list