[PATCH] Move memset value into register

Serge Pavlov sepavloff at gmail.com
Tue Sep 10 02:43:09 PDT 2013


  Cosmetical update to the patch
  If block size is small, the size of largest move chunk may be smaller than the
  natural register width and target may not have resisters of such width. Example
  is 32-bit target that does not have 16-bit registers. Avoid allocation such
  illegal registers.

Hi bkramer, nadav,

http://llvm-reviews.chandlerc.com/D1484

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1484?vs=3692&id=4161#toc

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/memset-sse-stack-realignment.ll
  test/CodeGen/X86/memset.ll
  test/CodeGen/X86/tlv-1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1484.2.patch
Type: text/x-patch
Size: 8114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130910/852da84e/attachment.bin>


More information about the llvm-commits mailing list