[PATCH] D15549: [X86] Use push-pop for materializing small constants under 'minsize'
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 15 17:28:28 PST 2015
hans created this revision.
hans added reviewers: mkuper, DavidKreitzer.
hans added a subscriber: llvm-commits.
This is a follow-up to r255656 which uses push-pop for materializing small constants with 3 bytes instead of a 5-byte (or more) mov.
Since it's slower, let's put it under 'minsize'.
Please take a look.
http://reviews.llvm.org/D15549
Files:
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86InstrCompiler.td
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/materialize-one.ll
test/CodeGen/X86/materialize.ll
test/CodeGen/X86/powi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15549.42944.patch
Type: text/x-patch
Size: 14646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151216/7814f104/attachment.bin>
More information about the llvm-commits
mailing list