[PATCH] D141113: Improve mul 2^N +/- 2 pattern
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 6 00:54:10 PST 2023
goldstein.w.n created this revision.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
goldstein.w.n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Previous pattern was omitting ops in sequence which just increases the
latency (to 3c, same as imul!).
Repository:
rG LLVM Github Monorepo
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.486768.patch
Type: text/x-patch
Size: 20803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230106/1d673de3/attachment.bin>
More information about the llvm-commits
mailing list