[PATCH] D21560: Relax the clearance calculating for breaking partial register dependency.
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 21 10:04:11 PDT 2016
danielcdh created this revision.
danielcdh added reviewers: mkuper, davidxl, wmi.
danielcdh added a subscriber: llvm-commits.
LLVM assumes that large clearance will hide the partial register spill penalty. But in our experiment, 16 clearance is too small. As the inserted XOR is normally fairly cheap, we should have a higher clearance threshold to aggressively insert XORs that is necessary to break partial register dependency.
http://reviews.llvm.org/D21560
Files:
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/vec_int_to_fp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21560.61397.patch
Type: text/x-patch
Size: 4013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160621/caad4a93/attachment.bin>
More information about the llvm-commits
mailing list