diff options
| author | Jakub Staszak <kubastaszak@gmail.com> | 2012-10-29 21:56:35 +0000 |
|---|---|---|
| committer | Jakub Staszak <kubastaszak@gmail.com> | 2012-10-29 21:56:35 +0000 |
| commit | c8f4825ba6fce70e4f7d73e5e5fb84a000cc57e7 (patch) | |
| tree | 0823e6e18cf9b2e92dbf1c181e3d39812afa7d73 /llvm/lib/Support/Windows/Memory.inc | |
| parent | 5ad045a8c5b8ab446b73817e04efe751ba4e8824 (diff) | |
| download | bcm5719-llvm-c8f4825ba6fce70e4f7d73e5e5fb84a000cc57e7.tar.gz bcm5719-llvm-c8f4825ba6fce70e4f7d73e5e5fb84a000cc57e7.zip | |
Allow to fold vector load if there is more than one bitcast, so in the case:
%0 = load <8 x i16>* %dest
%1 = shufflevector <8 x i16> %0, <8 x i16> %in,
<8 x i32> < i32 0, i32 1, i32 2, i32 3, i32 13, i32 undef, i32 14, i32 14>
store <8 x i16> %1, <8 x i16>* %dest
We get:
vmovlpd (%eax), %xmm0, %xmm0
instead of:
vmovaps (%eax), %xmm1
vmovsd %xmm1, %xmm0, %xmm0
No extra test-case is added. I just fixed the existing one
(also it uses FileCheck now).
llvm-svn: 166971
Diffstat (limited to 'llvm/lib/Support/Windows/Memory.inc')
0 files changed, 0 insertions, 0 deletions

