diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-08 22:59:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-08 22:59:52 +0000 |
commit | 19f7969f816000cf5ddf8a19163193b5feb9bc0a (patch) | |
tree | 1b6421849184e8e8e12230e0af09dd6c35c77d8b /lib/Transforms/Utils/CloneLoop.cpp | |
parent | c9517fb6eb0daee39f8d27cdca2e84a924092d11 (diff) |
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 'lib/Transforms/Utils/CloneLoop.cpp')
0 files changed, 0 insertions, 0 deletions