1) Improve comments.
authorChris Lattner <sabre@nondot.org>
Sat, 8 Mar 2008 22:59:52 +0000 (22:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 8 Mar 2008 22:59:52 +0000 (22:59 +0000)
commit19f7969f816000cf5ddf8a19163193b5feb9bc0a
tree1b6421849184e8e8e12230e0af09dd6c35c77d8b
parentc9517fb6eb0daee39f8d27cdca2e84a924092d11
1) Improve comments.
2) Don't try to insert an i64 value into the low part of a
   vector with movq on an x86-32 target.  This allows us to
   compile:

__m128i doload64(short x) {return _mm_set_epi16(0,0,0,0,0,0,0,1);}

into:

_doload64:
movaps LCPI1_0, %xmm0
ret

instead of:

_doload64:
subl $28, %esp
movl $0, 4(%esp)
movl $1, (%esp)
movq (%esp), %xmm0
addl $28, %esp
ret

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48057 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp