aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/pr1505b.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-09 05:42:06 +0000
committerChris Lattner <sabre@nondot.org>2008-03-09 05:42:06 +0000
commit67f453aae7ac55f30af9e961a21029beabaaf47b (patch)
tree7a7fd9ea19992b97cc52890188a1cdab8940c738 /test/CodeGen/X86/pr1505b.ll
parent529de8a45702cd34968d79d13f95ed1e5d5fa250 (diff)
downloadexternal_llvm-67f453aae7ac55f30af9e961a21029beabaaf47b.zip
external_llvm-67f453aae7ac55f30af9e961a21029beabaaf47b.tar.gz
external_llvm-67f453aae7ac55f30af9e961a21029beabaaf47b.tar.bz2
Finish implementing a readme entry: when inserting an i64 variable
into a vector of zeros or undef, and when the top part is obviously zero, we can just use movd + shuffle. This allows us to compile vec_set-B.ll into: _test3: movl $1234567, %eax andl 4(%esp), %eax movd %eax, %xmm0 ret instead of: _test3: subl $28, %esp movl $1234567, %eax andl 32(%esp), %eax movl %eax, (%esp) movl $0, 4(%esp) movq (%esp), %xmm0 addl $28, %esp ret git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr1505b.ll')
0 files changed, 0 insertions, 0 deletions