commit | 17f0cd3cc1432231f2bc5601e7e463986a59d817 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Oct 23 06:57:37 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Oct 23 06:57:37 2009 +0000 |
tree | 3281e0056f828380884e59e2dfdb0a7c1dbf9fec | |
parent | 739208a790398cf1f9da05149c768371e48781e8 [diff] |
teach libanalysis to simplify vector loads with bitcast sources. This implements something out of Target/README.txt producing: _foo: ## @foo movl 4(%esp), %eax movapd LCPI1_0, %xmm0 movapd %xmm0, (%eax) ret $4 instead of: _foo: ## @foo movl 4(%esp), %eax movapd _b, %xmm0 mulpd LCPI1_0, %xmm0 addpd _a, %xmm0 movapd %xmm0, (%eax) ret $4 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84942 91177308-0d34-0410-b5e6-96231b3b80d8