summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_set-9.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-08 22:59:52 +0000
committerChris Lattner <sabre@nondot.org>2008-03-08 22:59:52 +0000
commit19f7969f816000cf5ddf8a19163193b5feb9bc0a (patch)
tree1b6421849184e8e8e12230e0af09dd6c35c77d8b /test/CodeGen/X86/vec_set-9.ll
parentc9517fb6eb0daee39f8d27cdca2e84a924092d11 (diff)
downloadllvm-19f7969f816000cf5ddf8a19163193b5feb9bc0a.tar.gz
llvm-19f7969f816000cf5ddf8a19163193b5feb9bc0a.tar.bz2
llvm-19f7969f816000cf5ddf8a19163193b5feb9bc0a.tar.xz
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
Diffstat (limited to 'test/CodeGen/X86/vec_set-9.ll')
0 files changed, 0 insertions, 0 deletions