diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-23 06:57:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-23 06:57:37 +0000 |
commit | ccf1e847791a1d4dad5108e4147303440e85b8b1 (patch) | |
tree | 08b9a4494a0bb82356310f305a3e0dd944f9635b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 59f94c01dd726f320382daded7f4e3bb09e81690 (diff) | |
download | bcm5719-llvm-ccf1e847791a1d4dad5108e4147303440e85b8b1.tar.gz bcm5719-llvm-ccf1e847791a1d4dad5108e4147303440e85b8b1.zip |
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
llvm-svn: 84942
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions