xref: /llvm-project/llvm/test/Analysis/CostModel/X86/load_store.ll (revision aca5f9aeea8da8857235347ed1363ccda5460cbb)
1; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
2; RUN: opt < %s  -passes="print<cost-model>" 2>&1 -disable-output -mtriple=x86_64-apple-macosx10.8.0 -mattr=+sse2 | FileCheck %s --check-prefixes=SSE2
3; RUN: opt < %s  -passes="print<cost-model>" 2>&1 -disable-output -mtriple=x86_64-apple-macosx10.8.0 -mattr=+sse4.1 | FileCheck %s --check-prefixes=SSE41
4; RUN: opt < %s  -passes="print<cost-model>" 2>&1 -disable-output -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx  | FileCheck %s --check-prefixes=AVX
5; RUN: opt < %s  -passes="print<cost-model>" 2>&1 -disable-output -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx512bw | FileCheck %s --check-prefixes=AVX512
6
7target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
8target triple = "x86_64-apple-macosx10.8.0"
9
10define i32 @stores_align4(i32 %arg) {
11  ; Scalars
12; SSE2-LABEL: 'stores_align4'
13; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 4
14; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 4
15; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 4
16; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 4
17; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 4
18; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 4
19; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 4
20; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 4
21; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 4
22; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 4
23; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 4
24; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <128 x i1> undef, ptr undef, align 4
25; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 4
26; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 4
27; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 4
28; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 4
29; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 4
30; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 4
31; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 4
32; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 4
33; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 4
34; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 4
35; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 4
36; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 4
37; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i1> undef, ptr undef, align 4
38; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <256 x i1> undef, ptr undef, align 4
39; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <32 x i8> undef, ptr undef, align 4
40; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i16> undef, ptr undef, align 4
41; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i32> undef, ptr undef, align 4
42; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i64> undef, ptr undef, align 4
43; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 4
44; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 4
45; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x float> undef, ptr undef, align 4
46; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x double> undef, ptr undef, align 4
47; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x ptr> undef, ptr undef, align 4
48; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 4
49; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <512 x i1> undef, ptr undef, align 4
50; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <64 x i8> undef, ptr undef, align 4
51; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <32 x i16> undef, ptr undef, align 4
52; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x i32> undef, ptr undef, align 4
53; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x i64> undef, ptr undef, align 4
54; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 4
55; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 4
56; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 4
57; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x float> undef, ptr undef, align 4
58; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x double> undef, ptr undef, align 4
59; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x ptr> undef, ptr undef, align 4
60; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 4
61; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
62;
63; SSE41-LABEL: 'stores_align4'
64; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 4
65; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 4
66; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 4
67; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 4
68; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 4
69; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 4
70; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 4
71; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 4
72; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 4
73; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 4
74; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 4
75; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <128 x i1> undef, ptr undef, align 4
76; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 4
77; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 4
78; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 4
79; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 4
80; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 4
81; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 4
82; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 4
83; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 4
84; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 4
85; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 4
86; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 4
87; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 4
88; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i1> undef, ptr undef, align 4
89; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <256 x i1> undef, ptr undef, align 4
90; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <32 x i8> undef, ptr undef, align 4
91; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i16> undef, ptr undef, align 4
92; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i32> undef, ptr undef, align 4
93; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i64> undef, ptr undef, align 4
94; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 4
95; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 4
96; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x float> undef, ptr undef, align 4
97; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x double> undef, ptr undef, align 4
98; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x ptr> undef, ptr undef, align 4
99; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 4
100; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <512 x i1> undef, ptr undef, align 4
101; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <64 x i8> undef, ptr undef, align 4
102; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <32 x i16> undef, ptr undef, align 4
103; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x i32> undef, ptr undef, align 4
104; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x i64> undef, ptr undef, align 4
105; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 4
106; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 4
107; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 4
108; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x float> undef, ptr undef, align 4
109; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x double> undef, ptr undef, align 4
110; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x ptr> undef, ptr undef, align 4
111; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 4
112; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
113;
114; AVX-LABEL: 'stores_align4'
115; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 4
116; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 4
117; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 4
118; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 4
119; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 4
120; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 4
121; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 4
122; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 4
123; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 4
124; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 4
125; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 4
126; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <128 x i1> undef, ptr undef, align 4
127; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 4
128; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 4
129; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 4
130; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 4
131; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 4
132; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 4
133; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 4
134; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 4
135; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 4
136; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 4
137; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 4
138; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 4
139; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i1> undef, ptr undef, align 4
140; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <256 x i1> undef, ptr undef, align 4
141; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i8> undef, ptr undef, align 4
142; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i16> undef, ptr undef, align 4
143; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i32> undef, ptr undef, align 4
144; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i64> undef, ptr undef, align 4
145; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 4
146; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 4
147; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x float> undef, ptr undef, align 4
148; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x double> undef, ptr undef, align 4
149; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x ptr> undef, ptr undef, align 4
150; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 4
151; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <512 x i1> undef, ptr undef, align 4
152; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <64 x i8> undef, ptr undef, align 4
153; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <32 x i16> undef, ptr undef, align 4
154; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i32> undef, ptr undef, align 4
155; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i64> undef, ptr undef, align 4
156; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 4
157; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 4
158; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 4
159; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x float> undef, ptr undef, align 4
160; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x double> undef, ptr undef, align 4
161; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x ptr> undef, ptr undef, align 4
162; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 4
163; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
164;
165; AVX512-LABEL: 'stores_align4'
166; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 4
167; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 4
168; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 4
169; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 4
170; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 4
171; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 4
172; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 4
173; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 4
174; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 4
175; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 4
176; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 4
177; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <128 x i1> undef, ptr undef, align 4
178; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 4
179; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 4
180; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 4
181; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 4
182; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 4
183; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 4
184; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 4
185; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 4
186; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 4
187; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 4
188; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 4
189; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 4
190; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i1> undef, ptr undef, align 4
191; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <256 x i1> undef, ptr undef, align 4
192; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i8> undef, ptr undef, align 4
193; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i16> undef, ptr undef, align 4
194; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i32> undef, ptr undef, align 4
195; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i64> undef, ptr undef, align 4
196; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 4
197; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 4
198; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x float> undef, ptr undef, align 4
199; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x double> undef, ptr undef, align 4
200; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x ptr> undef, ptr undef, align 4
201; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 4
202; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <512 x i1> undef, ptr undef, align 4
203; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i8> undef, ptr undef, align 4
204; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i16> undef, ptr undef, align 4
205; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i32> undef, ptr undef, align 4
206; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i64> undef, ptr undef, align 4
207; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 4
208; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 4
209; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 4
210; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x float> undef, ptr undef, align 4
211; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x double> undef, ptr undef, align 4
212; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x ptr> undef, ptr undef, align 4
213; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 4
214; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
215;
216  store i8 undef, ptr undef, align 4
217  store i16 undef, ptr undef, align 4
218  store i32 undef, ptr undef, align 4
219  store i64 undef, ptr undef, align 4
220  store i128 undef, ptr undef, align 4
221  store i256 undef, ptr undef, align 4
222  store i512 undef, ptr undef, align 4
223
224  store float undef, ptr undef, align 4
225  store double undef, ptr undef, align 4
226
227  store ptr undef, ptr undef, align 4
228
229  store i1 undef, ptr undef, align 4
230
231  ; XMM (128-bit) vectors
232  store <128 x i1> undef, ptr undef, align 4
233  store <16 x i8> undef, ptr undef, align 4
234  store <8 x i16> undef, ptr undef, align 4
235  store <4 x i32> undef, ptr undef, align 4
236  store <2 x i64> undef, ptr undef, align 4
237  store <1 x i128> undef, ptr undef, align 4
238
239  store <4 x float> undef, ptr undef, align 4
240  store <2 x double> undef, ptr undef, align 4
241
242  store <2 x ptr> undef, ptr undef, align 4
243
244  store <16 x i1> undef, ptr undef, align 4
245  store <8 x i1> undef, ptr undef, align 4
246  store <4 x i1> undef, ptr undef, align 4
247  store <2 x i1> undef, ptr undef, align 4
248  store <1 x i1> undef, ptr undef, align 4
249
250  ; YMM (256-bit) vectors
251  store <256 x i1> undef, ptr undef, align 4
252  store <32 x i8> undef, ptr undef, align 4
253  store <16 x i16> undef, ptr undef, align 4
254  store <8 x i32> undef, ptr undef, align 4
255  store <4 x i64> undef, ptr undef, align 4
256  store <2 x i128> undef, ptr undef, align 4
257  store <1 x i256> undef, ptr undef, align 4
258
259  store <8 x float> undef, ptr undef, align 4
260  store <4 x double> undef, ptr undef, align 4
261
262  store <4 x ptr> undef, ptr undef, align 4
263
264  store <32 x i1> undef, ptr undef, align 4
265
266  ; ZMM (512-bit) vectors
267  store <512 x i1> undef, ptr undef, align 4
268  store <64 x i8> undef, ptr undef, align 4
269  store <32 x i16> undef, ptr undef, align 4
270  store <16 x i32> undef, ptr undef, align 4
271  store <8 x i64> undef, ptr undef, align 4
272  store <4 x i128> undef, ptr undef, align 4
273  store <2 x i256> undef, ptr undef, align 4
274  store <1 x i512> undef, ptr undef, align 4
275
276  store <16 x float> undef, ptr undef, align 4
277  store <8 x double> undef, ptr undef, align 4
278
279  store <8 x ptr> undef, ptr undef, align 4
280
281  store <64 x i1> undef, ptr undef, align 4
282
283  ret i32 undef
284}
285
286define i32 @stores_partial_align4(i32 %arg) {
287  ; Partial vectors with i64 elements (doubles as pointer-sized tests))
288; SSE2-LABEL: 'stores_partial_align4'
289; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 4
290; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i64> undef, ptr undef, align 4
291; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x i64> undef, ptr undef, align 4
292; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i64> undef, ptr undef, align 4
293; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i64> undef, ptr undef, align 4
294; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 4
295; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x double> undef, ptr undef, align 4
296; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x double> undef, ptr undef, align 4
297; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x double> undef, ptr undef, align 4
298; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x double> undef, ptr undef, align 4
299; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 4
300; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 4
301; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i32> undef, ptr undef, align 4
302; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i32> undef, ptr undef, align 4
303; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i32> undef, ptr undef, align 4
304; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i32> undef, ptr undef, align 4
305; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i32> undef, ptr undef, align 4
306; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x i32> undef, ptr undef, align 4
307; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <11 x i32> undef, ptr undef, align 4
308; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i32> undef, ptr undef, align 4
309; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x i32> undef, ptr undef, align 4
310; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i32> undef, ptr undef, align 4
311; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x i32> undef, ptr undef, align 4
312; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 4
313; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 4
314; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 4
315; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x float> undef, ptr undef, align 4
316; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x float> undef, ptr undef, align 4
317; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x float> undef, ptr undef, align 4
318; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x float> undef, ptr undef, align 4
319; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x float> undef, ptr undef, align 4
320; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x float> undef, ptr undef, align 4
321; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x float> undef, ptr undef, align 4
322; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x float> undef, ptr undef, align 4
323; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x float> undef, ptr undef, align 4
324; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x float> undef, ptr undef, align 4
325; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 4
326; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 4
327; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 4
328; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 4
329; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 4
330; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i16> undef, ptr undef, align 4
331; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i16> undef, ptr undef, align 4
332; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i16> undef, ptr undef, align 4
333; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x i16> undef, ptr undef, align 4
334; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i16> undef, ptr undef, align 4
335; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x i16> undef, ptr undef, align 4
336; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i16> undef, ptr undef, align 4
337; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i16> undef, ptr undef, align 4
338; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <15 x i16> undef, ptr undef, align 4
339; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i16> undef, ptr undef, align 4
340; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i16> undef, ptr undef, align 4
341; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <19 x i16> undef, ptr undef, align 4
342; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <20 x i16> undef, ptr undef, align 4
343; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i16> undef, ptr undef, align 4
344; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <22 x i16> undef, ptr undef, align 4
345; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <23 x i16> undef, ptr undef, align 4
346; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i16> undef, ptr undef, align 4
347; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <25 x i16> undef, ptr undef, align 4
348; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <26 x i16> undef, ptr undef, align 4
349; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <27 x i16> undef, ptr undef, align 4
350; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i16> undef, ptr undef, align 4
351; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i16> undef, ptr undef, align 4
352; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i16> undef, ptr undef, align 4
353; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <31 x i16> undef, ptr undef, align 4
354; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 4
355; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 4
356; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <3 x i8> undef, ptr undef, align 4
357; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 4
358; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <5 x i8> undef, ptr undef, align 4
359; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 4
360; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <7 x i8> undef, ptr undef, align 4
361; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 4
362; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i8> undef, ptr undef, align 4
363; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 4
364; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <11 x i8> undef, ptr undef, align 4
365; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <12 x i8> undef, ptr undef, align 4
366; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <13 x i8> undef, ptr undef, align 4
367; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <14 x i8> undef, ptr undef, align 4
368; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <15 x i8> undef, ptr undef, align 4
369; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <17 x i8> undef, ptr undef, align 4
370; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i8> undef, ptr undef, align 4
371; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <19 x i8> undef, ptr undef, align 4
372; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <20 x i8> undef, ptr undef, align 4
373; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i8> undef, ptr undef, align 4
374; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i8> undef, ptr undef, align 4
375; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <23 x i8> undef, ptr undef, align 4
376; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <24 x i8> undef, ptr undef, align 4
377; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i8> undef, ptr undef, align 4
378; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <26 x i8> undef, ptr undef, align 4
379; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i8> undef, ptr undef, align 4
380; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i8> undef, ptr undef, align 4
381; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <29 x i8> undef, ptr undef, align 4
382; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i8> undef, ptr undef, align 4
383; SSE2-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <31 x i8> undef, ptr undef, align 4
384; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <33 x i8> undef, ptr undef, align 4
385; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <34 x i8> undef, ptr undef, align 4
386; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <35 x i8> undef, ptr undef, align 4
387; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i8> undef, ptr undef, align 4
388; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <37 x i8> undef, ptr undef, align 4
389; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <38 x i8> undef, ptr undef, align 4
390; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <39 x i8> undef, ptr undef, align 4
391; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i8> undef, ptr undef, align 4
392; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <41 x i8> undef, ptr undef, align 4
393; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i8> undef, ptr undef, align 4
394; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <43 x i8> undef, ptr undef, align 4
395; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <44 x i8> undef, ptr undef, align 4
396; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <45 x i8> undef, ptr undef, align 4
397; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <46 x i8> undef, ptr undef, align 4
398; SSE2-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: store <47 x i8> undef, ptr undef, align 4
399; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i8> undef, ptr undef, align 4
400; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i8> undef, ptr undef, align 4
401; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i8> undef, ptr undef, align 4
402; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <51 x i8> undef, ptr undef, align 4
403; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <52 x i8> undef, ptr undef, align 4
404; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <53 x i8> undef, ptr undef, align 4
405; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <54 x i8> undef, ptr undef, align 4
406; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <55 x i8> undef, ptr undef, align 4
407; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <56 x i8> undef, ptr undef, align 4
408; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <57 x i8> undef, ptr undef, align 4
409; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <58 x i8> undef, ptr undef, align 4
410; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <59 x i8> undef, ptr undef, align 4
411; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <60 x i8> undef, ptr undef, align 4
412; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <61 x i8> undef, ptr undef, align 4
413; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <62 x i8> undef, ptr undef, align 4
414; SSE2-NEXT:  Cost Model: Found an estimated cost of 14 for instruction: store <63 x i8> undef, ptr undef, align 4
415; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 4
416; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 4
417; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 4
418; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 4
419; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <9 x i1> undef, ptr undef, align 4
420; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <10 x i1> undef, ptr undef, align 4
421; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <11 x i1> undef, ptr undef, align 4
422; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <12 x i1> undef, ptr undef, align 4
423; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i1> undef, ptr undef, align 4
424; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i1> undef, ptr undef, align 4
425; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x i1> undef, ptr undef, align 4
426; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i1> undef, ptr undef, align 4
427; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <18 x i1> undef, ptr undef, align 4
428; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <19 x i1> undef, ptr undef, align 4
429; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i1> undef, ptr undef, align 4
430; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <21 x i1> undef, ptr undef, align 4
431; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <22 x i1> undef, ptr undef, align 4
432; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <23 x i1> undef, ptr undef, align 4
433; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <24 x i1> undef, ptr undef, align 4
434; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <25 x i1> undef, ptr undef, align 4
435; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <26 x i1> undef, ptr undef, align 4
436; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i1> undef, ptr undef, align 4
437; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <28 x i1> undef, ptr undef, align 4
438; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i1> undef, ptr undef, align 4
439; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i1> undef, ptr undef, align 4
440; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <31 x i1> undef, ptr undef, align 4
441; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i1> undef, ptr undef, align 4
442; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i1> undef, ptr undef, align 4
443; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <35 x i1> undef, ptr undef, align 4
444; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i1> undef, ptr undef, align 4
445; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <37 x i1> undef, ptr undef, align 4
446; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <38 x i1> undef, ptr undef, align 4
447; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <39 x i1> undef, ptr undef, align 4
448; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i1> undef, ptr undef, align 4
449; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <41 x i1> undef, ptr undef, align 4
450; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <42 x i1> undef, ptr undef, align 4
451; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <43 x i1> undef, ptr undef, align 4
452; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <44 x i1> undef, ptr undef, align 4
453; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <45 x i1> undef, ptr undef, align 4
454; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <46 x i1> undef, ptr undef, align 4
455; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <47 x i1> undef, ptr undef, align 4
456; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i1> undef, ptr undef, align 4
457; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i1> undef, ptr undef, align 4
458; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i1> undef, ptr undef, align 4
459; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <51 x i1> undef, ptr undef, align 4
460; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <52 x i1> undef, ptr undef, align 4
461; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <53 x i1> undef, ptr undef, align 4
462; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <54 x i1> undef, ptr undef, align 4
463; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <55 x i1> undef, ptr undef, align 4
464; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <56 x i1> undef, ptr undef, align 4
465; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <57 x i1> undef, ptr undef, align 4
466; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <58 x i1> undef, ptr undef, align 4
467; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <59 x i1> undef, ptr undef, align 4
468; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <60 x i1> undef, ptr undef, align 4
469; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i1> undef, ptr undef, align 4
470; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i1> undef, ptr undef, align 4
471; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <63 x i1> undef, ptr undef, align 4
472; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
473;
474; SSE41-LABEL: 'stores_partial_align4'
475; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 4
476; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i64> undef, ptr undef, align 4
477; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x i64> undef, ptr undef, align 4
478; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i64> undef, ptr undef, align 4
479; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i64> undef, ptr undef, align 4
480; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 4
481; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x double> undef, ptr undef, align 4
482; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x double> undef, ptr undef, align 4
483; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x double> undef, ptr undef, align 4
484; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x double> undef, ptr undef, align 4
485; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 4
486; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 4
487; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i32> undef, ptr undef, align 4
488; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i32> undef, ptr undef, align 4
489; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i32> undef, ptr undef, align 4
490; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i32> undef, ptr undef, align 4
491; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i32> undef, ptr undef, align 4
492; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x i32> undef, ptr undef, align 4
493; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i32> undef, ptr undef, align 4
494; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i32> undef, ptr undef, align 4
495; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x i32> undef, ptr undef, align 4
496; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i32> undef, ptr undef, align 4
497; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x i32> undef, ptr undef, align 4
498; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 4
499; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 4
500; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 4
501; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x float> undef, ptr undef, align 4
502; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x float> undef, ptr undef, align 4
503; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x float> undef, ptr undef, align 4
504; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x float> undef, ptr undef, align 4
505; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x float> undef, ptr undef, align 4
506; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x float> undef, ptr undef, align 4
507; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x float> undef, ptr undef, align 4
508; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x float> undef, ptr undef, align 4
509; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x float> undef, ptr undef, align 4
510; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x float> undef, ptr undef, align 4
511; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 4
512; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 4
513; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 4
514; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 4
515; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 4
516; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i16> undef, ptr undef, align 4
517; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <7 x i16> undef, ptr undef, align 4
518; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i16> undef, ptr undef, align 4
519; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x i16> undef, ptr undef, align 4
520; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i16> undef, ptr undef, align 4
521; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x i16> undef, ptr undef, align 4
522; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i16> undef, ptr undef, align 4
523; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i16> undef, ptr undef, align 4
524; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x i16> undef, ptr undef, align 4
525; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i16> undef, ptr undef, align 4
526; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i16> undef, ptr undef, align 4
527; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <19 x i16> undef, ptr undef, align 4
528; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <20 x i16> undef, ptr undef, align 4
529; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i16> undef, ptr undef, align 4
530; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i16> undef, ptr undef, align 4
531; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <23 x i16> undef, ptr undef, align 4
532; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i16> undef, ptr undef, align 4
533; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <25 x i16> undef, ptr undef, align 4
534; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <26 x i16> undef, ptr undef, align 4
535; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <27 x i16> undef, ptr undef, align 4
536; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i16> undef, ptr undef, align 4
537; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i16> undef, ptr undef, align 4
538; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <30 x i16> undef, ptr undef, align 4
539; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <31 x i16> undef, ptr undef, align 4
540; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 4
541; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 4
542; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <3 x i8> undef, ptr undef, align 4
543; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 4
544; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i8> undef, ptr undef, align 4
545; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 4
546; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i8> undef, ptr undef, align 4
547; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 4
548; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i8> undef, ptr undef, align 4
549; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 4
550; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i8> undef, ptr undef, align 4
551; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i8> undef, ptr undef, align 4
552; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i8> undef, ptr undef, align 4
553; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i8> undef, ptr undef, align 4
554; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <15 x i8> undef, ptr undef, align 4
555; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <17 x i8> undef, ptr undef, align 4
556; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i8> undef, ptr undef, align 4
557; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <19 x i8> undef, ptr undef, align 4
558; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <20 x i8> undef, ptr undef, align 4
559; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i8> undef, ptr undef, align 4
560; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i8> undef, ptr undef, align 4
561; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <23 x i8> undef, ptr undef, align 4
562; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <24 x i8> undef, ptr undef, align 4
563; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <25 x i8> undef, ptr undef, align 4
564; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <26 x i8> undef, ptr undef, align 4
565; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i8> undef, ptr undef, align 4
566; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i8> undef, ptr undef, align 4
567; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i8> undef, ptr undef, align 4
568; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i8> undef, ptr undef, align 4
569; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <31 x i8> undef, ptr undef, align 4
570; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <33 x i8> undef, ptr undef, align 4
571; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <34 x i8> undef, ptr undef, align 4
572; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <35 x i8> undef, ptr undef, align 4
573; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i8> undef, ptr undef, align 4
574; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <37 x i8> undef, ptr undef, align 4
575; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <38 x i8> undef, ptr undef, align 4
576; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <39 x i8> undef, ptr undef, align 4
577; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i8> undef, ptr undef, align 4
578; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i8> undef, ptr undef, align 4
579; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i8> undef, ptr undef, align 4
580; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <43 x i8> undef, ptr undef, align 4
581; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <44 x i8> undef, ptr undef, align 4
582; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <45 x i8> undef, ptr undef, align 4
583; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <46 x i8> undef, ptr undef, align 4
584; SSE41-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <47 x i8> undef, ptr undef, align 4
585; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i8> undef, ptr undef, align 4
586; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i8> undef, ptr undef, align 4
587; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i8> undef, ptr undef, align 4
588; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <51 x i8> undef, ptr undef, align 4
589; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <52 x i8> undef, ptr undef, align 4
590; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <53 x i8> undef, ptr undef, align 4
591; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <54 x i8> undef, ptr undef, align 4
592; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <55 x i8> undef, ptr undef, align 4
593; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <56 x i8> undef, ptr undef, align 4
594; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <57 x i8> undef, ptr undef, align 4
595; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <58 x i8> undef, ptr undef, align 4
596; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <59 x i8> undef, ptr undef, align 4
597; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <60 x i8> undef, ptr undef, align 4
598; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i8> undef, ptr undef, align 4
599; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i8> undef, ptr undef, align 4
600; SSE41-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <63 x i8> undef, ptr undef, align 4
601; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 4
602; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 4
603; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 4
604; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 4
605; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i1> undef, ptr undef, align 4
606; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <10 x i1> undef, ptr undef, align 4
607; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i1> undef, ptr undef, align 4
608; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <12 x i1> undef, ptr undef, align 4
609; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i1> undef, ptr undef, align 4
610; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i1> undef, ptr undef, align 4
611; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <15 x i1> undef, ptr undef, align 4
612; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i1> undef, ptr undef, align 4
613; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <18 x i1> undef, ptr undef, align 4
614; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <19 x i1> undef, ptr undef, align 4
615; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i1> undef, ptr undef, align 4
616; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <21 x i1> undef, ptr undef, align 4
617; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <22 x i1> undef, ptr undef, align 4
618; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <23 x i1> undef, ptr undef, align 4
619; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <24 x i1> undef, ptr undef, align 4
620; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <25 x i1> undef, ptr undef, align 4
621; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <26 x i1> undef, ptr undef, align 4
622; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <27 x i1> undef, ptr undef, align 4
623; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <28 x i1> undef, ptr undef, align 4
624; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i1> undef, ptr undef, align 4
625; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i1> undef, ptr undef, align 4
626; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <31 x i1> undef, ptr undef, align 4
627; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i1> undef, ptr undef, align 4
628; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i1> undef, ptr undef, align 4
629; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <35 x i1> undef, ptr undef, align 4
630; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i1> undef, ptr undef, align 4
631; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <37 x i1> undef, ptr undef, align 4
632; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <38 x i1> undef, ptr undef, align 4
633; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <39 x i1> undef, ptr undef, align 4
634; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i1> undef, ptr undef, align 4
635; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i1> undef, ptr undef, align 4
636; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i1> undef, ptr undef, align 4
637; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <43 x i1> undef, ptr undef, align 4
638; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <44 x i1> undef, ptr undef, align 4
639; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <45 x i1> undef, ptr undef, align 4
640; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <46 x i1> undef, ptr undef, align 4
641; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <47 x i1> undef, ptr undef, align 4
642; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i1> undef, ptr undef, align 4
643; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i1> undef, ptr undef, align 4
644; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i1> undef, ptr undef, align 4
645; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <51 x i1> undef, ptr undef, align 4
646; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <52 x i1> undef, ptr undef, align 4
647; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <53 x i1> undef, ptr undef, align 4
648; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <54 x i1> undef, ptr undef, align 4
649; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <55 x i1> undef, ptr undef, align 4
650; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <56 x i1> undef, ptr undef, align 4
651; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <57 x i1> undef, ptr undef, align 4
652; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <58 x i1> undef, ptr undef, align 4
653; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <59 x i1> undef, ptr undef, align 4
654; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <60 x i1> undef, ptr undef, align 4
655; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <61 x i1> undef, ptr undef, align 4
656; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <62 x i1> undef, ptr undef, align 4
657; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <63 x i1> undef, ptr undef, align 4
658; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
659;
660; AVX-LABEL: 'stores_partial_align4'
661; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 4
662; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i64> undef, ptr undef, align 4
663; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i64> undef, ptr undef, align 4
664; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i64> undef, ptr undef, align 4
665; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i64> undef, ptr undef, align 4
666; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 4
667; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x double> undef, ptr undef, align 4
668; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x double> undef, ptr undef, align 4
669; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x double> undef, ptr undef, align 4
670; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x double> undef, ptr undef, align 4
671; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 4
672; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 4
673; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i32> undef, ptr undef, align 4
674; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i32> undef, ptr undef, align 4
675; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i32> undef, ptr undef, align 4
676; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i32> undef, ptr undef, align 4
677; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <9 x i32> undef, ptr undef, align 4
678; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x i32> undef, ptr undef, align 4
679; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <11 x i32> undef, ptr undef, align 4
680; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x i32> undef, ptr undef, align 4
681; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i32> undef, ptr undef, align 4
682; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i32> undef, ptr undef, align 4
683; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x i32> undef, ptr undef, align 4
684; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 4
685; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 4
686; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 4
687; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x float> undef, ptr undef, align 4
688; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x float> undef, ptr undef, align 4
689; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x float> undef, ptr undef, align 4
690; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <9 x float> undef, ptr undef, align 4
691; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x float> undef, ptr undef, align 4
692; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <11 x float> undef, ptr undef, align 4
693; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x float> undef, ptr undef, align 4
694; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x float> undef, ptr undef, align 4
695; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x float> undef, ptr undef, align 4
696; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x float> undef, ptr undef, align 4
697; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 4
698; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 4
699; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 4
700; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 4
701; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 4
702; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i16> undef, ptr undef, align 4
703; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <7 x i16> undef, ptr undef, align 4
704; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i16> undef, ptr undef, align 4
705; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i16> undef, ptr undef, align 4
706; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i16> undef, ptr undef, align 4
707; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i16> undef, ptr undef, align 4
708; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i16> undef, ptr undef, align 4
709; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i16> undef, ptr undef, align 4
710; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <15 x i16> undef, ptr undef, align 4
711; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <17 x i16> undef, ptr undef, align 4
712; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <18 x i16> undef, ptr undef, align 4
713; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <19 x i16> undef, ptr undef, align 4
714; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <20 x i16> undef, ptr undef, align 4
715; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i16> undef, ptr undef, align 4
716; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <22 x i16> undef, ptr undef, align 4
717; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <23 x i16> undef, ptr undef, align 4
718; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <24 x i16> undef, ptr undef, align 4
719; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i16> undef, ptr undef, align 4
720; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <26 x i16> undef, ptr undef, align 4
721; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i16> undef, ptr undef, align 4
722; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i16> undef, ptr undef, align 4
723; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i16> undef, ptr undef, align 4
724; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <30 x i16> undef, ptr undef, align 4
725; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <31 x i16> undef, ptr undef, align 4
726; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 4
727; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 4
728; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <3 x i8> undef, ptr undef, align 4
729; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 4
730; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i8> undef, ptr undef, align 4
731; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 4
732; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i8> undef, ptr undef, align 4
733; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 4
734; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i8> undef, ptr undef, align 4
735; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 4
736; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i8> undef, ptr undef, align 4
737; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i8> undef, ptr undef, align 4
738; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i8> undef, ptr undef, align 4
739; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i8> undef, ptr undef, align 4
740; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <15 x i8> undef, ptr undef, align 4
741; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i8> undef, ptr undef, align 4
742; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i8> undef, ptr undef, align 4
743; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <19 x i8> undef, ptr undef, align 4
744; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i8> undef, ptr undef, align 4
745; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <21 x i8> undef, ptr undef, align 4
746; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <22 x i8> undef, ptr undef, align 4
747; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <23 x i8> undef, ptr undef, align 4
748; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i8> undef, ptr undef, align 4
749; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i8> undef, ptr undef, align 4
750; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <26 x i8> undef, ptr undef, align 4
751; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i8> undef, ptr undef, align 4
752; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i8> undef, ptr undef, align 4
753; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i8> undef, ptr undef, align 4
754; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i8> undef, ptr undef, align 4
755; AVX-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <31 x i8> undef, ptr undef, align 4
756; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i8> undef, ptr undef, align 4
757; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i8> undef, ptr undef, align 4
758; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <35 x i8> undef, ptr undef, align 4
759; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <36 x i8> undef, ptr undef, align 4
760; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <37 x i8> undef, ptr undef, align 4
761; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <38 x i8> undef, ptr undef, align 4
762; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <39 x i8> undef, ptr undef, align 4
763; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <40 x i8> undef, ptr undef, align 4
764; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <41 x i8> undef, ptr undef, align 4
765; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <42 x i8> undef, ptr undef, align 4
766; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <43 x i8> undef, ptr undef, align 4
767; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <44 x i8> undef, ptr undef, align 4
768; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <45 x i8> undef, ptr undef, align 4
769; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <46 x i8> undef, ptr undef, align 4
770; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <47 x i8> undef, ptr undef, align 4
771; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <48 x i8> undef, ptr undef, align 4
772; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <49 x i8> undef, ptr undef, align 4
773; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <50 x i8> undef, ptr undef, align 4
774; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <51 x i8> undef, ptr undef, align 4
775; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <52 x i8> undef, ptr undef, align 4
776; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <53 x i8> undef, ptr undef, align 4
777; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <54 x i8> undef, ptr undef, align 4
778; AVX-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <55 x i8> undef, ptr undef, align 4
779; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <56 x i8> undef, ptr undef, align 4
780; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <57 x i8> undef, ptr undef, align 4
781; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <58 x i8> undef, ptr undef, align 4
782; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <59 x i8> undef, ptr undef, align 4
783; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <60 x i8> undef, ptr undef, align 4
784; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i8> undef, ptr undef, align 4
785; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i8> undef, ptr undef, align 4
786; AVX-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <63 x i8> undef, ptr undef, align 4
787; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 4
788; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 4
789; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 4
790; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 4
791; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i1> undef, ptr undef, align 4
792; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <10 x i1> undef, ptr undef, align 4
793; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i1> undef, ptr undef, align 4
794; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <12 x i1> undef, ptr undef, align 4
795; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i1> undef, ptr undef, align 4
796; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i1> undef, ptr undef, align 4
797; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <15 x i1> undef, ptr undef, align 4
798; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i1> undef, ptr undef, align 4
799; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i1> undef, ptr undef, align 4
800; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <19 x i1> undef, ptr undef, align 4
801; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <20 x i1> undef, ptr undef, align 4
802; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i1> undef, ptr undef, align 4
803; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i1> undef, ptr undef, align 4
804; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <23 x i1> undef, ptr undef, align 4
805; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <24 x i1> undef, ptr undef, align 4
806; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <25 x i1> undef, ptr undef, align 4
807; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <26 x i1> undef, ptr undef, align 4
808; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i1> undef, ptr undef, align 4
809; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <28 x i1> undef, ptr undef, align 4
810; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i1> undef, ptr undef, align 4
811; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i1> undef, ptr undef, align 4
812; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <31 x i1> undef, ptr undef, align 4
813; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i1> undef, ptr undef, align 4
814; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i1> undef, ptr undef, align 4
815; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <35 x i1> undef, ptr undef, align 4
816; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i1> undef, ptr undef, align 4
817; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <37 x i1> undef, ptr undef, align 4
818; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <38 x i1> undef, ptr undef, align 4
819; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <39 x i1> undef, ptr undef, align 4
820; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i1> undef, ptr undef, align 4
821; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i1> undef, ptr undef, align 4
822; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i1> undef, ptr undef, align 4
823; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <43 x i1> undef, ptr undef, align 4
824; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <44 x i1> undef, ptr undef, align 4
825; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <45 x i1> undef, ptr undef, align 4
826; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <46 x i1> undef, ptr undef, align 4
827; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <47 x i1> undef, ptr undef, align 4
828; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i1> undef, ptr undef, align 4
829; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <49 x i1> undef, ptr undef, align 4
830; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <50 x i1> undef, ptr undef, align 4
831; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <51 x i1> undef, ptr undef, align 4
832; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <52 x i1> undef, ptr undef, align 4
833; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <53 x i1> undef, ptr undef, align 4
834; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <54 x i1> undef, ptr undef, align 4
835; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <55 x i1> undef, ptr undef, align 4
836; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <56 x i1> undef, ptr undef, align 4
837; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <57 x i1> undef, ptr undef, align 4
838; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <58 x i1> undef, ptr undef, align 4
839; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <59 x i1> undef, ptr undef, align 4
840; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <60 x i1> undef, ptr undef, align 4
841; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i1> undef, ptr undef, align 4
842; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i1> undef, ptr undef, align 4
843; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <63 x i1> undef, ptr undef, align 4
844; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
845;
846; AVX512-LABEL: 'stores_partial_align4'
847; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 4
848; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i64> undef, ptr undef, align 4
849; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x i64> undef, ptr undef, align 4
850; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i64> undef, ptr undef, align 4
851; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i64> undef, ptr undef, align 4
852; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 4
853; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x double> undef, ptr undef, align 4
854; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x double> undef, ptr undef, align 4
855; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x double> undef, ptr undef, align 4
856; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x double> undef, ptr undef, align 4
857; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 4
858; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 4
859; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i32> undef, ptr undef, align 4
860; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i32> undef, ptr undef, align 4
861; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i32> undef, ptr undef, align 4
862; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i32> undef, ptr undef, align 4
863; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i32> undef, ptr undef, align 4
864; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x i32> undef, ptr undef, align 4
865; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i32> undef, ptr undef, align 4
866; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i32> undef, ptr undef, align 4
867; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i32> undef, ptr undef, align 4
868; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i32> undef, ptr undef, align 4
869; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x i32> undef, ptr undef, align 4
870; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 4
871; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 4
872; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 4
873; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x float> undef, ptr undef, align 4
874; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x float> undef, ptr undef, align 4
875; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x float> undef, ptr undef, align 4
876; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x float> undef, ptr undef, align 4
877; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x float> undef, ptr undef, align 4
878; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x float> undef, ptr undef, align 4
879; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x float> undef, ptr undef, align 4
880; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x float> undef, ptr undef, align 4
881; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x float> undef, ptr undef, align 4
882; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x float> undef, ptr undef, align 4
883; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 4
884; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 4
885; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 4
886; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 4
887; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 4
888; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i16> undef, ptr undef, align 4
889; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <7 x i16> undef, ptr undef, align 4
890; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i16> undef, ptr undef, align 4
891; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i16> undef, ptr undef, align 4
892; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i16> undef, ptr undef, align 4
893; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i16> undef, ptr undef, align 4
894; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i16> undef, ptr undef, align 4
895; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i16> undef, ptr undef, align 4
896; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <15 x i16> undef, ptr undef, align 4
897; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i16> undef, ptr undef, align 4
898; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <18 x i16> undef, ptr undef, align 4
899; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <19 x i16> undef, ptr undef, align 4
900; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <20 x i16> undef, ptr undef, align 4
901; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i16> undef, ptr undef, align 4
902; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i16> undef, ptr undef, align 4
903; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <23 x i16> undef, ptr undef, align 4
904; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i16> undef, ptr undef, align 4
905; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <25 x i16> undef, ptr undef, align 4
906; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <26 x i16> undef, ptr undef, align 4
907; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i16> undef, ptr undef, align 4
908; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i16> undef, ptr undef, align 4
909; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i16> undef, ptr undef, align 4
910; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i16> undef, ptr undef, align 4
911; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <31 x i16> undef, ptr undef, align 4
912; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 4
913; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 4
914; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <3 x i8> undef, ptr undef, align 4
915; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 4
916; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i8> undef, ptr undef, align 4
917; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 4
918; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i8> undef, ptr undef, align 4
919; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 4
920; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i8> undef, ptr undef, align 4
921; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 4
922; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i8> undef, ptr undef, align 4
923; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i8> undef, ptr undef, align 4
924; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i8> undef, ptr undef, align 4
925; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i8> undef, ptr undef, align 4
926; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <15 x i8> undef, ptr undef, align 4
927; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i8> undef, ptr undef, align 4
928; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i8> undef, ptr undef, align 4
929; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <19 x i8> undef, ptr undef, align 4
930; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i8> undef, ptr undef, align 4
931; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <21 x i8> undef, ptr undef, align 4
932; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <22 x i8> undef, ptr undef, align 4
933; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <23 x i8> undef, ptr undef, align 4
934; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i8> undef, ptr undef, align 4
935; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i8> undef, ptr undef, align 4
936; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <26 x i8> undef, ptr undef, align 4
937; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i8> undef, ptr undef, align 4
938; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i8> undef, ptr undef, align 4
939; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i8> undef, ptr undef, align 4
940; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i8> undef, ptr undef, align 4
941; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <31 x i8> undef, ptr undef, align 4
942; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <33 x i8> undef, ptr undef, align 4
943; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <34 x i8> undef, ptr undef, align 4
944; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <35 x i8> undef, ptr undef, align 4
945; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <36 x i8> undef, ptr undef, align 4
946; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <37 x i8> undef, ptr undef, align 4
947; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <38 x i8> undef, ptr undef, align 4
948; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <39 x i8> undef, ptr undef, align 4
949; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i8> undef, ptr undef, align 4
950; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i8> undef, ptr undef, align 4
951; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i8> undef, ptr undef, align 4
952; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <43 x i8> undef, ptr undef, align 4
953; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <44 x i8> undef, ptr undef, align 4
954; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <45 x i8> undef, ptr undef, align 4
955; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <46 x i8> undef, ptr undef, align 4
956; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <47 x i8> undef, ptr undef, align 4
957; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i8> undef, ptr undef, align 4
958; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <49 x i8> undef, ptr undef, align 4
959; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <50 x i8> undef, ptr undef, align 4
960; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <51 x i8> undef, ptr undef, align 4
961; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <52 x i8> undef, ptr undef, align 4
962; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <53 x i8> undef, ptr undef, align 4
963; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <54 x i8> undef, ptr undef, align 4
964; AVX512-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <55 x i8> undef, ptr undef, align 4
965; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <56 x i8> undef, ptr undef, align 4
966; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <57 x i8> undef, ptr undef, align 4
967; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <58 x i8> undef, ptr undef, align 4
968; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <59 x i8> undef, ptr undef, align 4
969; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <60 x i8> undef, ptr undef, align 4
970; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <61 x i8> undef, ptr undef, align 4
971; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <62 x i8> undef, ptr undef, align 4
972; AVX512-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: store <63 x i8> undef, ptr undef, align 4
973; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 4
974; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 4
975; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 4
976; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 4
977; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i1> undef, ptr undef, align 4
978; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <10 x i1> undef, ptr undef, align 4
979; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i1> undef, ptr undef, align 4
980; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <12 x i1> undef, ptr undef, align 4
981; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i1> undef, ptr undef, align 4
982; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i1> undef, ptr undef, align 4
983; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <15 x i1> undef, ptr undef, align 4
984; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i1> undef, ptr undef, align 4
985; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i1> undef, ptr undef, align 4
986; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <19 x i1> undef, ptr undef, align 4
987; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <20 x i1> undef, ptr undef, align 4
988; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i1> undef, ptr undef, align 4
989; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i1> undef, ptr undef, align 4
990; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <23 x i1> undef, ptr undef, align 4
991; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <24 x i1> undef, ptr undef, align 4
992; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <25 x i1> undef, ptr undef, align 4
993; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <26 x i1> undef, ptr undef, align 4
994; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i1> undef, ptr undef, align 4
995; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <28 x i1> undef, ptr undef, align 4
996; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i1> undef, ptr undef, align 4
997; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i1> undef, ptr undef, align 4
998; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <31 x i1> undef, ptr undef, align 4
999; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <33 x i1> undef, ptr undef, align 4
1000; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <34 x i1> undef, ptr undef, align 4
1001; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <35 x i1> undef, ptr undef, align 4
1002; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <36 x i1> undef, ptr undef, align 4
1003; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <37 x i1> undef, ptr undef, align 4
1004; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <38 x i1> undef, ptr undef, align 4
1005; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <39 x i1> undef, ptr undef, align 4
1006; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <40 x i1> undef, ptr undef, align 4
1007; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <41 x i1> undef, ptr undef, align 4
1008; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <42 x i1> undef, ptr undef, align 4
1009; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <43 x i1> undef, ptr undef, align 4
1010; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <44 x i1> undef, ptr undef, align 4
1011; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <45 x i1> undef, ptr undef, align 4
1012; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <46 x i1> undef, ptr undef, align 4
1013; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <47 x i1> undef, ptr undef, align 4
1014; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <48 x i1> undef, ptr undef, align 4
1015; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <49 x i1> undef, ptr undef, align 4
1016; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <50 x i1> undef, ptr undef, align 4
1017; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <51 x i1> undef, ptr undef, align 4
1018; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <52 x i1> undef, ptr undef, align 4
1019; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <53 x i1> undef, ptr undef, align 4
1020; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <54 x i1> undef, ptr undef, align 4
1021; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <55 x i1> undef, ptr undef, align 4
1022; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <56 x i1> undef, ptr undef, align 4
1023; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <57 x i1> undef, ptr undef, align 4
1024; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <58 x i1> undef, ptr undef, align 4
1025; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <59 x i1> undef, ptr undef, align 4
1026; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <60 x i1> undef, ptr undef, align 4
1027; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <61 x i1> undef, ptr undef, align 4
1028; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <62 x i1> undef, ptr undef, align 4
1029; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <63 x i1> undef, ptr undef, align 4
1030; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
1031;
1032  store <1 x i64> undef, ptr undef, align 4
1033  ; <2 x i64> is XMM
1034  store <3 x i64> undef, ptr undef, align 4
1035  ; <4 x i64> is YMM
1036  store <5 x i64> undef, ptr undef, align 4
1037  store <6 x i64> undef, ptr undef, align 4
1038  store <7 x i64> undef, ptr undef, align 4
1039  ; <8 x i64> is ZMM
1040
1041  ; Partial vectors with double elements
1042  store <1 x double> undef, ptr undef, align 4
1043  ; <2 x double> is XMM
1044  store <3 x double> undef, ptr undef, align 4
1045  ; <4 x double> is YMM
1046  store <5 x double> undef, ptr undef, align 4
1047  store <6 x double> undef, ptr undef, align 4
1048  store <7 x double> undef, ptr undef, align 4
1049  ; <8 x double> is ZMM
1050
1051  ; Partial vectors with i32 elements
1052  store <1 x i32> undef, ptr undef, align 4
1053  store <2 x i32> undef, ptr undef, align 4
1054  store <3 x i32> undef, ptr undef, align 4
1055  ; <4 x i32> is XMM
1056  store <5 x i32> undef, ptr undef, align 4
1057  store <6 x i32> undef, ptr undef, align 4
1058  store <7 x i32> undef, ptr undef, align 4
1059  ; <8 x i32> is YMM
1060  store <9 x i32> undef, ptr undef, align 4
1061  store <10 x i32> undef, ptr undef, align 4
1062  store <11 x i32> undef, ptr undef, align 4
1063  store <12 x i32> undef, ptr undef, align 4
1064  store <13 x i32> undef, ptr undef, align 4
1065  store <14 x i32> undef, ptr undef, align 4
1066  store <15 x i32> undef, ptr undef, align 4
1067  ; <16 x i32> is ZMM
1068
1069  ; Partial vectors with float elements
1070  store <1 x float> undef, ptr undef, align 4
1071  store <2 x float> undef, ptr undef, align 4
1072  store <3 x float> undef, ptr undef, align 4
1073  ; <4 x float> is XMM
1074  store <5 x float> undef, ptr undef, align 4
1075  store <6 x float> undef, ptr undef, align 4
1076  store <7 x float> undef, ptr undef, align 4
1077  ; <8 x float> is YMM
1078  store <9 x float> undef, ptr undef, align 4
1079  store <10 x float> undef, ptr undef, align 4
1080  store <11 x float> undef, ptr undef, align 4
1081  store <12 x float> undef, ptr undef, align 4
1082  store <13 x float> undef, ptr undef, align 4
1083  store <14 x float> undef, ptr undef, align 4
1084  store <15 x float> undef, ptr undef, align 4
1085  ; <16 x float> is ZMM
1086
1087  ; Partial vectors with i16 elements
1088  store <1 x i16> undef, ptr undef, align 4
1089  store <2 x i16> undef, ptr undef, align 4
1090  store <3 x i16> undef, ptr undef, align 4
1091  store <4 x i16> undef, ptr undef, align 4
1092  store <5 x i16> undef, ptr undef, align 4
1093  store <6 x i16> undef, ptr undef, align 4
1094  store <7 x i16> undef, ptr undef, align 4
1095  ; <8 x i16> is XMM
1096  store <9 x i16> undef, ptr undef, align 4
1097  store <10 x i16> undef, ptr undef, align 4
1098  store <11 x i16> undef, ptr undef, align 4
1099  store <12 x i16> undef, ptr undef, align 4
1100  store <13 x i16> undef, ptr undef, align 4
1101  store <14 x i16> undef, ptr undef, align 4
1102  store <15 x i16> undef, ptr undef, align 4
1103  ; <16 x i16> is YMM
1104  store <17 x i16> undef, ptr undef, align 4
1105  store <18 x i16> undef, ptr undef, align 4
1106  store <19 x i16> undef, ptr undef, align 4
1107  store <20 x i16> undef, ptr undef, align 4
1108  store <21 x i16> undef, ptr undef, align 4
1109  store <22 x i16> undef, ptr undef, align 4
1110  store <23 x i16> undef, ptr undef, align 4
1111  store <24 x i16> undef, ptr undef, align 4
1112  store <25 x i16> undef, ptr undef, align 4
1113  store <26 x i16> undef, ptr undef, align 4
1114  store <27 x i16> undef, ptr undef, align 4
1115  store <28 x i16> undef, ptr undef, align 4
1116  store <29 x i16> undef, ptr undef, align 4
1117  store <30 x i16> undef, ptr undef, align 4
1118  store <31 x i16> undef, ptr undef, align 4
1119  ; <32 x i16> is ZMM
1120
1121  ; Partial vectors with i8 elements
1122  store <1 x i8> undef, ptr undef, align 4
1123  store <2 x i8> undef, ptr undef, align 4
1124  store <3 x i8> undef, ptr undef, align 4
1125  store <4 x i8> undef, ptr undef, align 4
1126  store <5 x i8> undef, ptr undef, align 4
1127  store <6 x i8> undef, ptr undef, align 4
1128  store <7 x i8> undef, ptr undef, align 4
1129  store <8 x i8> undef, ptr undef, align 4
1130  store <9 x i8> undef, ptr undef, align 4
1131  store <10 x i8> undef, ptr undef, align 4
1132  store <11 x i8> undef, ptr undef, align 4
1133  store <12 x i8> undef, ptr undef, align 4
1134  store <13 x i8> undef, ptr undef, align 4
1135  store <14 x i8> undef, ptr undef, align 4
1136  store <15 x i8> undef, ptr undef, align 4
1137  ; <16 x i8> is XMM
1138  store <17 x i8> undef, ptr undef, align 4
1139  store <18 x i8> undef, ptr undef, align 4
1140  store <19 x i8> undef, ptr undef, align 4
1141  store <20 x i8> undef, ptr undef, align 4
1142  store <21 x i8> undef, ptr undef, align 4
1143  store <22 x i8> undef, ptr undef, align 4
1144  store <23 x i8> undef, ptr undef, align 4
1145  store <24 x i8> undef, ptr undef, align 4
1146  store <25 x i8> undef, ptr undef, align 4
1147  store <26 x i8> undef, ptr undef, align 4
1148  store <27 x i8> undef, ptr undef, align 4
1149  store <28 x i8> undef, ptr undef, align 4
1150  store <29 x i8> undef, ptr undef, align 4
1151  store <30 x i8> undef, ptr undef, align 4
1152  store <31 x i8> undef, ptr undef, align 4
1153  ; <32 x i8> is YMM
1154  store <33 x i8> undef, ptr undef, align 4
1155  store <34 x i8> undef, ptr undef, align 4
1156  store <35 x i8> undef, ptr undef, align 4
1157  store <36 x i8> undef, ptr undef, align 4
1158  store <37 x i8> undef, ptr undef, align 4
1159  store <38 x i8> undef, ptr undef, align 4
1160  store <39 x i8> undef, ptr undef, align 4
1161  store <40 x i8> undef, ptr undef, align 4
1162  store <41 x i8> undef, ptr undef, align 4
1163  store <42 x i8> undef, ptr undef, align 4
1164  store <43 x i8> undef, ptr undef, align 4
1165  store <44 x i8> undef, ptr undef, align 4
1166  store <45 x i8> undef, ptr undef, align 4
1167  store <46 x i8> undef, ptr undef, align 4
1168  store <47 x i8> undef, ptr undef, align 4
1169  store <48 x i8> undef, ptr undef, align 4
1170  store <49 x i8> undef, ptr undef, align 4
1171  store <50 x i8> undef, ptr undef, align 4
1172  store <51 x i8> undef, ptr undef, align 4
1173  store <52 x i8> undef, ptr undef, align 4
1174  store <53 x i8> undef, ptr undef, align 4
1175  store <54 x i8> undef, ptr undef, align 4
1176  store <55 x i8> undef, ptr undef, align 4
1177  store <56 x i8> undef, ptr undef, align 4
1178  store <57 x i8> undef, ptr undef, align 4
1179  store <58 x i8> undef, ptr undef, align 4
1180  store <59 x i8> undef, ptr undef, align 4
1181  store <60 x i8> undef, ptr undef, align 4
1182  store <61 x i8> undef, ptr undef, align 4
1183  store <62 x i8> undef, ptr undef, align 4
1184  store <63 x i8> undef, ptr undef, align 4
1185  ; <64 x i8> is ZMM
1186
1187  ; Partial vectors with i1 elements
1188  ; <1 x i1> is XMM
1189  ; <2 x i1> is XMM
1190  store <3 x i1> undef, ptr undef, align 4
1191  ; <4 x i1> is XMM
1192  store <5 x i1> undef, ptr undef, align 4
1193  store <6 x i1> undef, ptr undef, align 4
1194  store <7 x i1> undef, ptr undef, align 4
1195  ; <8 x i1> is XMM
1196  store <9 x i1> undef, ptr undef, align 4
1197  store <10 x i1> undef, ptr undef, align 4
1198  store <11 x i1> undef, ptr undef, align 4
1199  store <12 x i1> undef, ptr undef, align 4
1200  store <13 x i1> undef, ptr undef, align 4
1201  store <14 x i1> undef, ptr undef, align 4
1202  store <15 x i1> undef, ptr undef, align 4
1203  ; <16 x i1> is XMM
1204  store <17 x i1> undef, ptr undef, align 4
1205  store <18 x i1> undef, ptr undef, align 4
1206  store <19 x i1> undef, ptr undef, align 4
1207  store <20 x i1> undef, ptr undef, align 4
1208  store <21 x i1> undef, ptr undef, align 4
1209  store <22 x i1> undef, ptr undef, align 4
1210  store <23 x i1> undef, ptr undef, align 4
1211  store <24 x i1> undef, ptr undef, align 4
1212  store <25 x i1> undef, ptr undef, align 4
1213  store <26 x i1> undef, ptr undef, align 4
1214  store <27 x i1> undef, ptr undef, align 4
1215  store <28 x i1> undef, ptr undef, align 4
1216  store <29 x i1> undef, ptr undef, align 4
1217  store <30 x i1> undef, ptr undef, align 4
1218  store <31 x i1> undef, ptr undef, align 4
1219  ; <32 x i1> is YMM
1220  store <33 x i1> undef, ptr undef, align 4
1221  store <34 x i1> undef, ptr undef, align 4
1222  store <35 x i1> undef, ptr undef, align 4
1223  store <36 x i1> undef, ptr undef, align 4
1224  store <37 x i1> undef, ptr undef, align 4
1225  store <38 x i1> undef, ptr undef, align 4
1226  store <39 x i1> undef, ptr undef, align 4
1227  store <40 x i1> undef, ptr undef, align 4
1228  store <41 x i1> undef, ptr undef, align 4
1229  store <42 x i1> undef, ptr undef, align 4
1230  store <43 x i1> undef, ptr undef, align 4
1231  store <44 x i1> undef, ptr undef, align 4
1232  store <45 x i1> undef, ptr undef, align 4
1233  store <46 x i1> undef, ptr undef, align 4
1234  store <47 x i1> undef, ptr undef, align 4
1235  store <48 x i1> undef, ptr undef, align 4
1236  store <49 x i1> undef, ptr undef, align 4
1237  store <50 x i1> undef, ptr undef, align 4
1238  store <51 x i1> undef, ptr undef, align 4
1239  store <52 x i1> undef, ptr undef, align 4
1240  store <53 x i1> undef, ptr undef, align 4
1241  store <54 x i1> undef, ptr undef, align 4
1242  store <55 x i1> undef, ptr undef, align 4
1243  store <56 x i1> undef, ptr undef, align 4
1244  store <57 x i1> undef, ptr undef, align 4
1245  store <58 x i1> undef, ptr undef, align 4
1246  store <59 x i1> undef, ptr undef, align 4
1247  store <60 x i1> undef, ptr undef, align 4
1248  store <61 x i1> undef, ptr undef, align 4
1249  store <62 x i1> undef, ptr undef, align 4
1250  store <63 x i1> undef, ptr undef, align 4
1251  ; <64 x i1> is ZMM
1252
1253  ret i32 undef
1254}
1255
1256define i32 @stores_align1(i32 %arg) {
1257  ; Scalars
1258; SSE2-LABEL: 'stores_align1'
1259; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 1
1260; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 1
1261; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 1
1262; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 1
1263; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 1
1264; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 1
1265; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 1
1266; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 1
1267; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 1
1268; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 1
1269; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 1
1270; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <128 x i1> undef, ptr undef, align 1
1271; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 1
1272; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 1
1273; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 1
1274; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 1
1275; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 1
1276; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 1
1277; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 1
1278; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 1
1279; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 1
1280; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 1
1281; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 1
1282; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 1
1283; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i1> undef, ptr undef, align 1
1284; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <256 x i1> undef, ptr undef, align 1
1285; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <32 x i8> undef, ptr undef, align 1
1286; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i16> undef, ptr undef, align 1
1287; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i32> undef, ptr undef, align 1
1288; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i64> undef, ptr undef, align 1
1289; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 1
1290; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 1
1291; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x float> undef, ptr undef, align 1
1292; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x double> undef, ptr undef, align 1
1293; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x ptr> undef, ptr undef, align 1
1294; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 1
1295; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <512 x i1> undef, ptr undef, align 1
1296; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <64 x i8> undef, ptr undef, align 1
1297; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <32 x i16> undef, ptr undef, align 1
1298; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x i32> undef, ptr undef, align 1
1299; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x i64> undef, ptr undef, align 1
1300; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 1
1301; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 1
1302; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 1
1303; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x float> undef, ptr undef, align 1
1304; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x double> undef, ptr undef, align 1
1305; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x ptr> undef, ptr undef, align 1
1306; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 1
1307; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
1308;
1309; SSE41-LABEL: 'stores_align1'
1310; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 1
1311; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 1
1312; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 1
1313; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 1
1314; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 1
1315; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 1
1316; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 1
1317; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 1
1318; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 1
1319; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 1
1320; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 1
1321; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <128 x i1> undef, ptr undef, align 1
1322; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 1
1323; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 1
1324; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 1
1325; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 1
1326; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 1
1327; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 1
1328; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 1
1329; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 1
1330; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 1
1331; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 1
1332; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 1
1333; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 1
1334; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i1> undef, ptr undef, align 1
1335; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <256 x i1> undef, ptr undef, align 1
1336; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <32 x i8> undef, ptr undef, align 1
1337; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i16> undef, ptr undef, align 1
1338; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i32> undef, ptr undef, align 1
1339; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i64> undef, ptr undef, align 1
1340; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 1
1341; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 1
1342; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x float> undef, ptr undef, align 1
1343; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x double> undef, ptr undef, align 1
1344; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x ptr> undef, ptr undef, align 1
1345; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 1
1346; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <512 x i1> undef, ptr undef, align 1
1347; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <64 x i8> undef, ptr undef, align 1
1348; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <32 x i16> undef, ptr undef, align 1
1349; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x i32> undef, ptr undef, align 1
1350; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x i64> undef, ptr undef, align 1
1351; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 1
1352; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 1
1353; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 1
1354; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x float> undef, ptr undef, align 1
1355; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x double> undef, ptr undef, align 1
1356; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x ptr> undef, ptr undef, align 1
1357; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 1
1358; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
1359;
1360; AVX-LABEL: 'stores_align1'
1361; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 1
1362; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 1
1363; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 1
1364; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 1
1365; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 1
1366; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 1
1367; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 1
1368; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 1
1369; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 1
1370; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 1
1371; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 1
1372; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <128 x i1> undef, ptr undef, align 1
1373; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 1
1374; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 1
1375; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 1
1376; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 1
1377; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 1
1378; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 1
1379; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 1
1380; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 1
1381; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 1
1382; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 1
1383; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 1
1384; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 1
1385; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i1> undef, ptr undef, align 1
1386; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <256 x i1> undef, ptr undef, align 1
1387; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i8> undef, ptr undef, align 1
1388; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i16> undef, ptr undef, align 1
1389; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i32> undef, ptr undef, align 1
1390; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i64> undef, ptr undef, align 1
1391; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 1
1392; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 1
1393; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x float> undef, ptr undef, align 1
1394; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x double> undef, ptr undef, align 1
1395; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x ptr> undef, ptr undef, align 1
1396; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 1
1397; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <512 x i1> undef, ptr undef, align 1
1398; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <64 x i8> undef, ptr undef, align 1
1399; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <32 x i16> undef, ptr undef, align 1
1400; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i32> undef, ptr undef, align 1
1401; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i64> undef, ptr undef, align 1
1402; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 1
1403; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 1
1404; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 1
1405; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x float> undef, ptr undef, align 1
1406; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x double> undef, ptr undef, align 1
1407; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x ptr> undef, ptr undef, align 1
1408; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 1
1409; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
1410;
1411; AVX512-LABEL: 'stores_align1'
1412; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 1
1413; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 1
1414; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 1
1415; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 1
1416; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 1
1417; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 1
1418; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 1
1419; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 1
1420; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 1
1421; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 1
1422; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 1
1423; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <128 x i1> undef, ptr undef, align 1
1424; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 1
1425; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 1
1426; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 1
1427; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 1
1428; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 1
1429; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 1
1430; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 1
1431; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 1
1432; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 1
1433; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 1
1434; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 1
1435; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 1
1436; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i1> undef, ptr undef, align 1
1437; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <256 x i1> undef, ptr undef, align 1
1438; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i8> undef, ptr undef, align 1
1439; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i16> undef, ptr undef, align 1
1440; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i32> undef, ptr undef, align 1
1441; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i64> undef, ptr undef, align 1
1442; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 1
1443; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 1
1444; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x float> undef, ptr undef, align 1
1445; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x double> undef, ptr undef, align 1
1446; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x ptr> undef, ptr undef, align 1
1447; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 1
1448; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <512 x i1> undef, ptr undef, align 1
1449; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i8> undef, ptr undef, align 1
1450; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i16> undef, ptr undef, align 1
1451; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i32> undef, ptr undef, align 1
1452; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i64> undef, ptr undef, align 1
1453; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 1
1454; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 1
1455; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 1
1456; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x float> undef, ptr undef, align 1
1457; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x double> undef, ptr undef, align 1
1458; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x ptr> undef, ptr undef, align 1
1459; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 1
1460; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
1461;
1462  store i8 undef, ptr undef, align 1
1463  store i16 undef, ptr undef, align 1
1464  store i32 undef, ptr undef, align 1
1465  store i64 undef, ptr undef, align 1
1466  store i128 undef, ptr undef, align 1
1467  store i256 undef, ptr undef, align 1
1468  store i512 undef, ptr undef, align 1
1469
1470  store float undef, ptr undef, align 1
1471  store double undef, ptr undef, align 1
1472
1473  store ptr undef, ptr undef, align 1
1474
1475  store i1 undef, ptr undef, align 1
1476
1477  ; XMM (128-bit) vectors
1478  store <128 x i1> undef, ptr undef, align 1
1479  store <16 x i8> undef, ptr undef, align 1
1480  store <8 x i16> undef, ptr undef, align 1
1481  store <4 x i32> undef, ptr undef, align 1
1482  store <2 x i64> undef, ptr undef, align 1
1483  store <1 x i128> undef, ptr undef, align 1
1484
1485  store <4 x float> undef, ptr undef, align 1
1486  store <2 x double> undef, ptr undef, align 1
1487
1488  store <2 x ptr> undef, ptr undef, align 1
1489
1490  store <16 x i1> undef, ptr undef, align 1
1491  store <8 x i1> undef, ptr undef, align 1
1492  store <4 x i1> undef, ptr undef, align 1
1493  store <2 x i1> undef, ptr undef, align 1
1494  store <1 x i1> undef, ptr undef, align 1
1495
1496  ; YMM (256-bit) vectors
1497  store <256 x i1> undef, ptr undef, align 1
1498  store <32 x i8> undef, ptr undef, align 1
1499  store <16 x i16> undef, ptr undef, align 1
1500  store <8 x i32> undef, ptr undef, align 1
1501  store <4 x i64> undef, ptr undef, align 1
1502  store <2 x i128> undef, ptr undef, align 1
1503  store <1 x i256> undef, ptr undef, align 1
1504
1505  store <8 x float> undef, ptr undef, align 1
1506  store <4 x double> undef, ptr undef, align 1
1507
1508  store <4 x ptr> undef, ptr undef, align 1
1509
1510  store <32 x i1> undef, ptr undef, align 1
1511
1512  ; ZMM (512-bit) vectors
1513  store <512 x i1> undef, ptr undef, align 1
1514  store <64 x i8> undef, ptr undef, align 1
1515  store <32 x i16> undef, ptr undef, align 1
1516  store <16 x i32> undef, ptr undef, align 1
1517  store <8 x i64> undef, ptr undef, align 1
1518  store <4 x i128> undef, ptr undef, align 1
1519  store <2 x i256> undef, ptr undef, align 1
1520  store <1 x i512> undef, ptr undef, align 1
1521
1522  store <16 x float> undef, ptr undef, align 1
1523  store <8 x double> undef, ptr undef, align 1
1524
1525  store <8 x ptr> undef, ptr undef, align 1
1526
1527  store <64 x i1> undef, ptr undef, align 1
1528
1529  ret i32 undef
1530}
1531
1532define i32 @stores_partial_align1(i32 %arg) {
1533  ; Partial vectors with i64 elements (doubles as pointer-sized tests))
1534; SSE2-LABEL: 'stores_partial_align1'
1535; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 1
1536; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i64> undef, ptr undef, align 1
1537; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x i64> undef, ptr undef, align 1
1538; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i64> undef, ptr undef, align 1
1539; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i64> undef, ptr undef, align 1
1540; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 1
1541; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x double> undef, ptr undef, align 1
1542; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x double> undef, ptr undef, align 1
1543; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x double> undef, ptr undef, align 1
1544; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x double> undef, ptr undef, align 1
1545; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 1
1546; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 1
1547; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i32> undef, ptr undef, align 1
1548; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i32> undef, ptr undef, align 1
1549; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i32> undef, ptr undef, align 1
1550; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i32> undef, ptr undef, align 1
1551; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i32> undef, ptr undef, align 1
1552; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x i32> undef, ptr undef, align 1
1553; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <11 x i32> undef, ptr undef, align 1
1554; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i32> undef, ptr undef, align 1
1555; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x i32> undef, ptr undef, align 1
1556; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i32> undef, ptr undef, align 1
1557; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x i32> undef, ptr undef, align 1
1558; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 1
1559; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 1
1560; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 1
1561; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x float> undef, ptr undef, align 1
1562; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x float> undef, ptr undef, align 1
1563; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x float> undef, ptr undef, align 1
1564; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x float> undef, ptr undef, align 1
1565; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x float> undef, ptr undef, align 1
1566; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x float> undef, ptr undef, align 1
1567; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x float> undef, ptr undef, align 1
1568; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x float> undef, ptr undef, align 1
1569; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x float> undef, ptr undef, align 1
1570; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x float> undef, ptr undef, align 1
1571; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 1
1572; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 1
1573; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 1
1574; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 1
1575; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 1
1576; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i16> undef, ptr undef, align 1
1577; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i16> undef, ptr undef, align 1
1578; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i16> undef, ptr undef, align 1
1579; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x i16> undef, ptr undef, align 1
1580; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i16> undef, ptr undef, align 1
1581; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x i16> undef, ptr undef, align 1
1582; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i16> undef, ptr undef, align 1
1583; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i16> undef, ptr undef, align 1
1584; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <15 x i16> undef, ptr undef, align 1
1585; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i16> undef, ptr undef, align 1
1586; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i16> undef, ptr undef, align 1
1587; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <19 x i16> undef, ptr undef, align 1
1588; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <20 x i16> undef, ptr undef, align 1
1589; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i16> undef, ptr undef, align 1
1590; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <22 x i16> undef, ptr undef, align 1
1591; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <23 x i16> undef, ptr undef, align 1
1592; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i16> undef, ptr undef, align 1
1593; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <25 x i16> undef, ptr undef, align 1
1594; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <26 x i16> undef, ptr undef, align 1
1595; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <27 x i16> undef, ptr undef, align 1
1596; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i16> undef, ptr undef, align 1
1597; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i16> undef, ptr undef, align 1
1598; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i16> undef, ptr undef, align 1
1599; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <31 x i16> undef, ptr undef, align 1
1600; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 1
1601; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 1
1602; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <3 x i8> undef, ptr undef, align 1
1603; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 1
1604; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <5 x i8> undef, ptr undef, align 1
1605; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 1
1606; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <7 x i8> undef, ptr undef, align 1
1607; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 1
1608; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i8> undef, ptr undef, align 1
1609; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 1
1610; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <11 x i8> undef, ptr undef, align 1
1611; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <12 x i8> undef, ptr undef, align 1
1612; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <13 x i8> undef, ptr undef, align 1
1613; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <14 x i8> undef, ptr undef, align 1
1614; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <15 x i8> undef, ptr undef, align 1
1615; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <17 x i8> undef, ptr undef, align 1
1616; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i8> undef, ptr undef, align 1
1617; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <19 x i8> undef, ptr undef, align 1
1618; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <20 x i8> undef, ptr undef, align 1
1619; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i8> undef, ptr undef, align 1
1620; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i8> undef, ptr undef, align 1
1621; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <23 x i8> undef, ptr undef, align 1
1622; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <24 x i8> undef, ptr undef, align 1
1623; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i8> undef, ptr undef, align 1
1624; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <26 x i8> undef, ptr undef, align 1
1625; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i8> undef, ptr undef, align 1
1626; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i8> undef, ptr undef, align 1
1627; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <29 x i8> undef, ptr undef, align 1
1628; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i8> undef, ptr undef, align 1
1629; SSE2-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <31 x i8> undef, ptr undef, align 1
1630; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <33 x i8> undef, ptr undef, align 1
1631; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <34 x i8> undef, ptr undef, align 1
1632; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <35 x i8> undef, ptr undef, align 1
1633; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i8> undef, ptr undef, align 1
1634; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <37 x i8> undef, ptr undef, align 1
1635; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <38 x i8> undef, ptr undef, align 1
1636; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <39 x i8> undef, ptr undef, align 1
1637; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i8> undef, ptr undef, align 1
1638; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <41 x i8> undef, ptr undef, align 1
1639; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i8> undef, ptr undef, align 1
1640; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <43 x i8> undef, ptr undef, align 1
1641; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <44 x i8> undef, ptr undef, align 1
1642; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <45 x i8> undef, ptr undef, align 1
1643; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <46 x i8> undef, ptr undef, align 1
1644; SSE2-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: store <47 x i8> undef, ptr undef, align 1
1645; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i8> undef, ptr undef, align 1
1646; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i8> undef, ptr undef, align 1
1647; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i8> undef, ptr undef, align 1
1648; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <51 x i8> undef, ptr undef, align 1
1649; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <52 x i8> undef, ptr undef, align 1
1650; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <53 x i8> undef, ptr undef, align 1
1651; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <54 x i8> undef, ptr undef, align 1
1652; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <55 x i8> undef, ptr undef, align 1
1653; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <56 x i8> undef, ptr undef, align 1
1654; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <57 x i8> undef, ptr undef, align 1
1655; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <58 x i8> undef, ptr undef, align 1
1656; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <59 x i8> undef, ptr undef, align 1
1657; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <60 x i8> undef, ptr undef, align 1
1658; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <61 x i8> undef, ptr undef, align 1
1659; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <62 x i8> undef, ptr undef, align 1
1660; SSE2-NEXT:  Cost Model: Found an estimated cost of 14 for instruction: store <63 x i8> undef, ptr undef, align 1
1661; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 1
1662; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 1
1663; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 1
1664; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 1
1665; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <9 x i1> undef, ptr undef, align 1
1666; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <10 x i1> undef, ptr undef, align 1
1667; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <11 x i1> undef, ptr undef, align 1
1668; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <12 x i1> undef, ptr undef, align 1
1669; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i1> undef, ptr undef, align 1
1670; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i1> undef, ptr undef, align 1
1671; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x i1> undef, ptr undef, align 1
1672; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i1> undef, ptr undef, align 1
1673; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <18 x i1> undef, ptr undef, align 1
1674; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <19 x i1> undef, ptr undef, align 1
1675; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i1> undef, ptr undef, align 1
1676; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <21 x i1> undef, ptr undef, align 1
1677; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <22 x i1> undef, ptr undef, align 1
1678; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <23 x i1> undef, ptr undef, align 1
1679; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <24 x i1> undef, ptr undef, align 1
1680; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <25 x i1> undef, ptr undef, align 1
1681; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <26 x i1> undef, ptr undef, align 1
1682; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i1> undef, ptr undef, align 1
1683; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <28 x i1> undef, ptr undef, align 1
1684; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i1> undef, ptr undef, align 1
1685; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i1> undef, ptr undef, align 1
1686; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <31 x i1> undef, ptr undef, align 1
1687; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i1> undef, ptr undef, align 1
1688; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i1> undef, ptr undef, align 1
1689; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <35 x i1> undef, ptr undef, align 1
1690; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i1> undef, ptr undef, align 1
1691; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <37 x i1> undef, ptr undef, align 1
1692; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <38 x i1> undef, ptr undef, align 1
1693; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <39 x i1> undef, ptr undef, align 1
1694; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i1> undef, ptr undef, align 1
1695; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <41 x i1> undef, ptr undef, align 1
1696; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <42 x i1> undef, ptr undef, align 1
1697; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <43 x i1> undef, ptr undef, align 1
1698; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <44 x i1> undef, ptr undef, align 1
1699; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <45 x i1> undef, ptr undef, align 1
1700; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <46 x i1> undef, ptr undef, align 1
1701; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <47 x i1> undef, ptr undef, align 1
1702; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i1> undef, ptr undef, align 1
1703; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i1> undef, ptr undef, align 1
1704; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i1> undef, ptr undef, align 1
1705; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <51 x i1> undef, ptr undef, align 1
1706; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <52 x i1> undef, ptr undef, align 1
1707; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <53 x i1> undef, ptr undef, align 1
1708; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <54 x i1> undef, ptr undef, align 1
1709; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <55 x i1> undef, ptr undef, align 1
1710; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <56 x i1> undef, ptr undef, align 1
1711; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <57 x i1> undef, ptr undef, align 1
1712; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <58 x i1> undef, ptr undef, align 1
1713; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <59 x i1> undef, ptr undef, align 1
1714; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <60 x i1> undef, ptr undef, align 1
1715; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i1> undef, ptr undef, align 1
1716; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i1> undef, ptr undef, align 1
1717; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <63 x i1> undef, ptr undef, align 1
1718; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
1719;
1720; SSE41-LABEL: 'stores_partial_align1'
1721; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 1
1722; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i64> undef, ptr undef, align 1
1723; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x i64> undef, ptr undef, align 1
1724; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i64> undef, ptr undef, align 1
1725; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i64> undef, ptr undef, align 1
1726; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 1
1727; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x double> undef, ptr undef, align 1
1728; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x double> undef, ptr undef, align 1
1729; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x double> undef, ptr undef, align 1
1730; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x double> undef, ptr undef, align 1
1731; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 1
1732; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 1
1733; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i32> undef, ptr undef, align 1
1734; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i32> undef, ptr undef, align 1
1735; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i32> undef, ptr undef, align 1
1736; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i32> undef, ptr undef, align 1
1737; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i32> undef, ptr undef, align 1
1738; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x i32> undef, ptr undef, align 1
1739; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i32> undef, ptr undef, align 1
1740; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i32> undef, ptr undef, align 1
1741; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x i32> undef, ptr undef, align 1
1742; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i32> undef, ptr undef, align 1
1743; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x i32> undef, ptr undef, align 1
1744; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 1
1745; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 1
1746; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 1
1747; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x float> undef, ptr undef, align 1
1748; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x float> undef, ptr undef, align 1
1749; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x float> undef, ptr undef, align 1
1750; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x float> undef, ptr undef, align 1
1751; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x float> undef, ptr undef, align 1
1752; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x float> undef, ptr undef, align 1
1753; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x float> undef, ptr undef, align 1
1754; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x float> undef, ptr undef, align 1
1755; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x float> undef, ptr undef, align 1
1756; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x float> undef, ptr undef, align 1
1757; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 1
1758; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 1
1759; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 1
1760; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 1
1761; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 1
1762; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i16> undef, ptr undef, align 1
1763; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <7 x i16> undef, ptr undef, align 1
1764; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i16> undef, ptr undef, align 1
1765; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x i16> undef, ptr undef, align 1
1766; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i16> undef, ptr undef, align 1
1767; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x i16> undef, ptr undef, align 1
1768; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i16> undef, ptr undef, align 1
1769; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i16> undef, ptr undef, align 1
1770; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x i16> undef, ptr undef, align 1
1771; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i16> undef, ptr undef, align 1
1772; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i16> undef, ptr undef, align 1
1773; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <19 x i16> undef, ptr undef, align 1
1774; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <20 x i16> undef, ptr undef, align 1
1775; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i16> undef, ptr undef, align 1
1776; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i16> undef, ptr undef, align 1
1777; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <23 x i16> undef, ptr undef, align 1
1778; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i16> undef, ptr undef, align 1
1779; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <25 x i16> undef, ptr undef, align 1
1780; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <26 x i16> undef, ptr undef, align 1
1781; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <27 x i16> undef, ptr undef, align 1
1782; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i16> undef, ptr undef, align 1
1783; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i16> undef, ptr undef, align 1
1784; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <30 x i16> undef, ptr undef, align 1
1785; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <31 x i16> undef, ptr undef, align 1
1786; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 1
1787; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 1
1788; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <3 x i8> undef, ptr undef, align 1
1789; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 1
1790; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i8> undef, ptr undef, align 1
1791; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 1
1792; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i8> undef, ptr undef, align 1
1793; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 1
1794; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i8> undef, ptr undef, align 1
1795; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 1
1796; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i8> undef, ptr undef, align 1
1797; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i8> undef, ptr undef, align 1
1798; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i8> undef, ptr undef, align 1
1799; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i8> undef, ptr undef, align 1
1800; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <15 x i8> undef, ptr undef, align 1
1801; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <17 x i8> undef, ptr undef, align 1
1802; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i8> undef, ptr undef, align 1
1803; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <19 x i8> undef, ptr undef, align 1
1804; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <20 x i8> undef, ptr undef, align 1
1805; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i8> undef, ptr undef, align 1
1806; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i8> undef, ptr undef, align 1
1807; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <23 x i8> undef, ptr undef, align 1
1808; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <24 x i8> undef, ptr undef, align 1
1809; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <25 x i8> undef, ptr undef, align 1
1810; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <26 x i8> undef, ptr undef, align 1
1811; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i8> undef, ptr undef, align 1
1812; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i8> undef, ptr undef, align 1
1813; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i8> undef, ptr undef, align 1
1814; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i8> undef, ptr undef, align 1
1815; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <31 x i8> undef, ptr undef, align 1
1816; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <33 x i8> undef, ptr undef, align 1
1817; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <34 x i8> undef, ptr undef, align 1
1818; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <35 x i8> undef, ptr undef, align 1
1819; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i8> undef, ptr undef, align 1
1820; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <37 x i8> undef, ptr undef, align 1
1821; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <38 x i8> undef, ptr undef, align 1
1822; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <39 x i8> undef, ptr undef, align 1
1823; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i8> undef, ptr undef, align 1
1824; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i8> undef, ptr undef, align 1
1825; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i8> undef, ptr undef, align 1
1826; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <43 x i8> undef, ptr undef, align 1
1827; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <44 x i8> undef, ptr undef, align 1
1828; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <45 x i8> undef, ptr undef, align 1
1829; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <46 x i8> undef, ptr undef, align 1
1830; SSE41-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <47 x i8> undef, ptr undef, align 1
1831; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i8> undef, ptr undef, align 1
1832; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i8> undef, ptr undef, align 1
1833; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i8> undef, ptr undef, align 1
1834; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <51 x i8> undef, ptr undef, align 1
1835; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <52 x i8> undef, ptr undef, align 1
1836; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <53 x i8> undef, ptr undef, align 1
1837; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <54 x i8> undef, ptr undef, align 1
1838; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <55 x i8> undef, ptr undef, align 1
1839; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <56 x i8> undef, ptr undef, align 1
1840; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <57 x i8> undef, ptr undef, align 1
1841; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <58 x i8> undef, ptr undef, align 1
1842; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <59 x i8> undef, ptr undef, align 1
1843; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <60 x i8> undef, ptr undef, align 1
1844; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i8> undef, ptr undef, align 1
1845; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i8> undef, ptr undef, align 1
1846; SSE41-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <63 x i8> undef, ptr undef, align 1
1847; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 1
1848; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 1
1849; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 1
1850; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 1
1851; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i1> undef, ptr undef, align 1
1852; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <10 x i1> undef, ptr undef, align 1
1853; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i1> undef, ptr undef, align 1
1854; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <12 x i1> undef, ptr undef, align 1
1855; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i1> undef, ptr undef, align 1
1856; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i1> undef, ptr undef, align 1
1857; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <15 x i1> undef, ptr undef, align 1
1858; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i1> undef, ptr undef, align 1
1859; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <18 x i1> undef, ptr undef, align 1
1860; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <19 x i1> undef, ptr undef, align 1
1861; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i1> undef, ptr undef, align 1
1862; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <21 x i1> undef, ptr undef, align 1
1863; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <22 x i1> undef, ptr undef, align 1
1864; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <23 x i1> undef, ptr undef, align 1
1865; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <24 x i1> undef, ptr undef, align 1
1866; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <25 x i1> undef, ptr undef, align 1
1867; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <26 x i1> undef, ptr undef, align 1
1868; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <27 x i1> undef, ptr undef, align 1
1869; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <28 x i1> undef, ptr undef, align 1
1870; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i1> undef, ptr undef, align 1
1871; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i1> undef, ptr undef, align 1
1872; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <31 x i1> undef, ptr undef, align 1
1873; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i1> undef, ptr undef, align 1
1874; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i1> undef, ptr undef, align 1
1875; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <35 x i1> undef, ptr undef, align 1
1876; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i1> undef, ptr undef, align 1
1877; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <37 x i1> undef, ptr undef, align 1
1878; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <38 x i1> undef, ptr undef, align 1
1879; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <39 x i1> undef, ptr undef, align 1
1880; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i1> undef, ptr undef, align 1
1881; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i1> undef, ptr undef, align 1
1882; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i1> undef, ptr undef, align 1
1883; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <43 x i1> undef, ptr undef, align 1
1884; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <44 x i1> undef, ptr undef, align 1
1885; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <45 x i1> undef, ptr undef, align 1
1886; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <46 x i1> undef, ptr undef, align 1
1887; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <47 x i1> undef, ptr undef, align 1
1888; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i1> undef, ptr undef, align 1
1889; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i1> undef, ptr undef, align 1
1890; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i1> undef, ptr undef, align 1
1891; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <51 x i1> undef, ptr undef, align 1
1892; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <52 x i1> undef, ptr undef, align 1
1893; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <53 x i1> undef, ptr undef, align 1
1894; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <54 x i1> undef, ptr undef, align 1
1895; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <55 x i1> undef, ptr undef, align 1
1896; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <56 x i1> undef, ptr undef, align 1
1897; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <57 x i1> undef, ptr undef, align 1
1898; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <58 x i1> undef, ptr undef, align 1
1899; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <59 x i1> undef, ptr undef, align 1
1900; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <60 x i1> undef, ptr undef, align 1
1901; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <61 x i1> undef, ptr undef, align 1
1902; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <62 x i1> undef, ptr undef, align 1
1903; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <63 x i1> undef, ptr undef, align 1
1904; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
1905;
1906; AVX-LABEL: 'stores_partial_align1'
1907; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 1
1908; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i64> undef, ptr undef, align 1
1909; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i64> undef, ptr undef, align 1
1910; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i64> undef, ptr undef, align 1
1911; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i64> undef, ptr undef, align 1
1912; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 1
1913; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x double> undef, ptr undef, align 1
1914; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x double> undef, ptr undef, align 1
1915; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x double> undef, ptr undef, align 1
1916; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x double> undef, ptr undef, align 1
1917; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 1
1918; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 1
1919; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i32> undef, ptr undef, align 1
1920; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i32> undef, ptr undef, align 1
1921; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i32> undef, ptr undef, align 1
1922; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i32> undef, ptr undef, align 1
1923; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <9 x i32> undef, ptr undef, align 1
1924; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x i32> undef, ptr undef, align 1
1925; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <11 x i32> undef, ptr undef, align 1
1926; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x i32> undef, ptr undef, align 1
1927; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i32> undef, ptr undef, align 1
1928; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i32> undef, ptr undef, align 1
1929; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x i32> undef, ptr undef, align 1
1930; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 1
1931; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 1
1932; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 1
1933; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x float> undef, ptr undef, align 1
1934; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x float> undef, ptr undef, align 1
1935; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x float> undef, ptr undef, align 1
1936; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <9 x float> undef, ptr undef, align 1
1937; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x float> undef, ptr undef, align 1
1938; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <11 x float> undef, ptr undef, align 1
1939; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x float> undef, ptr undef, align 1
1940; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x float> undef, ptr undef, align 1
1941; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x float> undef, ptr undef, align 1
1942; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x float> undef, ptr undef, align 1
1943; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 1
1944; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 1
1945; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 1
1946; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 1
1947; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 1
1948; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i16> undef, ptr undef, align 1
1949; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <7 x i16> undef, ptr undef, align 1
1950; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i16> undef, ptr undef, align 1
1951; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i16> undef, ptr undef, align 1
1952; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i16> undef, ptr undef, align 1
1953; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i16> undef, ptr undef, align 1
1954; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i16> undef, ptr undef, align 1
1955; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i16> undef, ptr undef, align 1
1956; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <15 x i16> undef, ptr undef, align 1
1957; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <17 x i16> undef, ptr undef, align 1
1958; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <18 x i16> undef, ptr undef, align 1
1959; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <19 x i16> undef, ptr undef, align 1
1960; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <20 x i16> undef, ptr undef, align 1
1961; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i16> undef, ptr undef, align 1
1962; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <22 x i16> undef, ptr undef, align 1
1963; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <23 x i16> undef, ptr undef, align 1
1964; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <24 x i16> undef, ptr undef, align 1
1965; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i16> undef, ptr undef, align 1
1966; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <26 x i16> undef, ptr undef, align 1
1967; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i16> undef, ptr undef, align 1
1968; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i16> undef, ptr undef, align 1
1969; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i16> undef, ptr undef, align 1
1970; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <30 x i16> undef, ptr undef, align 1
1971; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <31 x i16> undef, ptr undef, align 1
1972; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 1
1973; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 1
1974; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <3 x i8> undef, ptr undef, align 1
1975; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 1
1976; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i8> undef, ptr undef, align 1
1977; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 1
1978; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i8> undef, ptr undef, align 1
1979; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 1
1980; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i8> undef, ptr undef, align 1
1981; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 1
1982; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i8> undef, ptr undef, align 1
1983; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i8> undef, ptr undef, align 1
1984; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i8> undef, ptr undef, align 1
1985; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i8> undef, ptr undef, align 1
1986; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <15 x i8> undef, ptr undef, align 1
1987; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i8> undef, ptr undef, align 1
1988; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i8> undef, ptr undef, align 1
1989; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <19 x i8> undef, ptr undef, align 1
1990; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i8> undef, ptr undef, align 1
1991; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <21 x i8> undef, ptr undef, align 1
1992; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <22 x i8> undef, ptr undef, align 1
1993; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <23 x i8> undef, ptr undef, align 1
1994; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i8> undef, ptr undef, align 1
1995; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i8> undef, ptr undef, align 1
1996; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <26 x i8> undef, ptr undef, align 1
1997; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i8> undef, ptr undef, align 1
1998; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i8> undef, ptr undef, align 1
1999; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i8> undef, ptr undef, align 1
2000; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i8> undef, ptr undef, align 1
2001; AVX-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <31 x i8> undef, ptr undef, align 1
2002; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i8> undef, ptr undef, align 1
2003; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i8> undef, ptr undef, align 1
2004; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <35 x i8> undef, ptr undef, align 1
2005; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <36 x i8> undef, ptr undef, align 1
2006; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <37 x i8> undef, ptr undef, align 1
2007; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <38 x i8> undef, ptr undef, align 1
2008; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <39 x i8> undef, ptr undef, align 1
2009; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <40 x i8> undef, ptr undef, align 1
2010; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <41 x i8> undef, ptr undef, align 1
2011; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <42 x i8> undef, ptr undef, align 1
2012; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <43 x i8> undef, ptr undef, align 1
2013; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <44 x i8> undef, ptr undef, align 1
2014; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <45 x i8> undef, ptr undef, align 1
2015; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <46 x i8> undef, ptr undef, align 1
2016; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <47 x i8> undef, ptr undef, align 1
2017; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <48 x i8> undef, ptr undef, align 1
2018; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <49 x i8> undef, ptr undef, align 1
2019; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <50 x i8> undef, ptr undef, align 1
2020; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <51 x i8> undef, ptr undef, align 1
2021; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <52 x i8> undef, ptr undef, align 1
2022; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <53 x i8> undef, ptr undef, align 1
2023; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <54 x i8> undef, ptr undef, align 1
2024; AVX-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <55 x i8> undef, ptr undef, align 1
2025; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <56 x i8> undef, ptr undef, align 1
2026; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <57 x i8> undef, ptr undef, align 1
2027; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <58 x i8> undef, ptr undef, align 1
2028; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <59 x i8> undef, ptr undef, align 1
2029; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <60 x i8> undef, ptr undef, align 1
2030; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i8> undef, ptr undef, align 1
2031; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i8> undef, ptr undef, align 1
2032; AVX-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <63 x i8> undef, ptr undef, align 1
2033; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 1
2034; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 1
2035; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 1
2036; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 1
2037; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i1> undef, ptr undef, align 1
2038; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <10 x i1> undef, ptr undef, align 1
2039; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i1> undef, ptr undef, align 1
2040; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <12 x i1> undef, ptr undef, align 1
2041; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i1> undef, ptr undef, align 1
2042; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i1> undef, ptr undef, align 1
2043; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <15 x i1> undef, ptr undef, align 1
2044; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i1> undef, ptr undef, align 1
2045; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i1> undef, ptr undef, align 1
2046; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <19 x i1> undef, ptr undef, align 1
2047; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <20 x i1> undef, ptr undef, align 1
2048; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i1> undef, ptr undef, align 1
2049; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i1> undef, ptr undef, align 1
2050; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <23 x i1> undef, ptr undef, align 1
2051; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <24 x i1> undef, ptr undef, align 1
2052; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <25 x i1> undef, ptr undef, align 1
2053; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <26 x i1> undef, ptr undef, align 1
2054; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i1> undef, ptr undef, align 1
2055; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <28 x i1> undef, ptr undef, align 1
2056; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i1> undef, ptr undef, align 1
2057; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i1> undef, ptr undef, align 1
2058; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <31 x i1> undef, ptr undef, align 1
2059; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i1> undef, ptr undef, align 1
2060; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i1> undef, ptr undef, align 1
2061; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <35 x i1> undef, ptr undef, align 1
2062; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i1> undef, ptr undef, align 1
2063; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <37 x i1> undef, ptr undef, align 1
2064; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <38 x i1> undef, ptr undef, align 1
2065; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <39 x i1> undef, ptr undef, align 1
2066; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i1> undef, ptr undef, align 1
2067; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i1> undef, ptr undef, align 1
2068; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i1> undef, ptr undef, align 1
2069; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <43 x i1> undef, ptr undef, align 1
2070; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <44 x i1> undef, ptr undef, align 1
2071; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <45 x i1> undef, ptr undef, align 1
2072; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <46 x i1> undef, ptr undef, align 1
2073; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <47 x i1> undef, ptr undef, align 1
2074; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i1> undef, ptr undef, align 1
2075; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <49 x i1> undef, ptr undef, align 1
2076; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <50 x i1> undef, ptr undef, align 1
2077; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <51 x i1> undef, ptr undef, align 1
2078; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <52 x i1> undef, ptr undef, align 1
2079; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <53 x i1> undef, ptr undef, align 1
2080; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <54 x i1> undef, ptr undef, align 1
2081; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <55 x i1> undef, ptr undef, align 1
2082; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <56 x i1> undef, ptr undef, align 1
2083; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <57 x i1> undef, ptr undef, align 1
2084; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <58 x i1> undef, ptr undef, align 1
2085; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <59 x i1> undef, ptr undef, align 1
2086; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <60 x i1> undef, ptr undef, align 1
2087; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i1> undef, ptr undef, align 1
2088; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i1> undef, ptr undef, align 1
2089; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <63 x i1> undef, ptr undef, align 1
2090; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
2091;
2092; AVX512-LABEL: 'stores_partial_align1'
2093; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 1
2094; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i64> undef, ptr undef, align 1
2095; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x i64> undef, ptr undef, align 1
2096; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i64> undef, ptr undef, align 1
2097; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i64> undef, ptr undef, align 1
2098; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 1
2099; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x double> undef, ptr undef, align 1
2100; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x double> undef, ptr undef, align 1
2101; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x double> undef, ptr undef, align 1
2102; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x double> undef, ptr undef, align 1
2103; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 1
2104; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 1
2105; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i32> undef, ptr undef, align 1
2106; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i32> undef, ptr undef, align 1
2107; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i32> undef, ptr undef, align 1
2108; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i32> undef, ptr undef, align 1
2109; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i32> undef, ptr undef, align 1
2110; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x i32> undef, ptr undef, align 1
2111; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i32> undef, ptr undef, align 1
2112; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i32> undef, ptr undef, align 1
2113; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i32> undef, ptr undef, align 1
2114; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i32> undef, ptr undef, align 1
2115; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x i32> undef, ptr undef, align 1
2116; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 1
2117; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 1
2118; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 1
2119; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x float> undef, ptr undef, align 1
2120; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x float> undef, ptr undef, align 1
2121; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x float> undef, ptr undef, align 1
2122; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x float> undef, ptr undef, align 1
2123; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x float> undef, ptr undef, align 1
2124; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x float> undef, ptr undef, align 1
2125; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x float> undef, ptr undef, align 1
2126; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x float> undef, ptr undef, align 1
2127; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x float> undef, ptr undef, align 1
2128; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x float> undef, ptr undef, align 1
2129; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 1
2130; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 1
2131; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 1
2132; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 1
2133; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 1
2134; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i16> undef, ptr undef, align 1
2135; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <7 x i16> undef, ptr undef, align 1
2136; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i16> undef, ptr undef, align 1
2137; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i16> undef, ptr undef, align 1
2138; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i16> undef, ptr undef, align 1
2139; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i16> undef, ptr undef, align 1
2140; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i16> undef, ptr undef, align 1
2141; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i16> undef, ptr undef, align 1
2142; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <15 x i16> undef, ptr undef, align 1
2143; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i16> undef, ptr undef, align 1
2144; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <18 x i16> undef, ptr undef, align 1
2145; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <19 x i16> undef, ptr undef, align 1
2146; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <20 x i16> undef, ptr undef, align 1
2147; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i16> undef, ptr undef, align 1
2148; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i16> undef, ptr undef, align 1
2149; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <23 x i16> undef, ptr undef, align 1
2150; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i16> undef, ptr undef, align 1
2151; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <25 x i16> undef, ptr undef, align 1
2152; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <26 x i16> undef, ptr undef, align 1
2153; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i16> undef, ptr undef, align 1
2154; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i16> undef, ptr undef, align 1
2155; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i16> undef, ptr undef, align 1
2156; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i16> undef, ptr undef, align 1
2157; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <31 x i16> undef, ptr undef, align 1
2158; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 1
2159; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 1
2160; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <3 x i8> undef, ptr undef, align 1
2161; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 1
2162; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i8> undef, ptr undef, align 1
2163; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 1
2164; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i8> undef, ptr undef, align 1
2165; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 1
2166; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i8> undef, ptr undef, align 1
2167; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 1
2168; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i8> undef, ptr undef, align 1
2169; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i8> undef, ptr undef, align 1
2170; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i8> undef, ptr undef, align 1
2171; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i8> undef, ptr undef, align 1
2172; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <15 x i8> undef, ptr undef, align 1
2173; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i8> undef, ptr undef, align 1
2174; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i8> undef, ptr undef, align 1
2175; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <19 x i8> undef, ptr undef, align 1
2176; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i8> undef, ptr undef, align 1
2177; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <21 x i8> undef, ptr undef, align 1
2178; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <22 x i8> undef, ptr undef, align 1
2179; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <23 x i8> undef, ptr undef, align 1
2180; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i8> undef, ptr undef, align 1
2181; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i8> undef, ptr undef, align 1
2182; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <26 x i8> undef, ptr undef, align 1
2183; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i8> undef, ptr undef, align 1
2184; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i8> undef, ptr undef, align 1
2185; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i8> undef, ptr undef, align 1
2186; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i8> undef, ptr undef, align 1
2187; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <31 x i8> undef, ptr undef, align 1
2188; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <33 x i8> undef, ptr undef, align 1
2189; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <34 x i8> undef, ptr undef, align 1
2190; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <35 x i8> undef, ptr undef, align 1
2191; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <36 x i8> undef, ptr undef, align 1
2192; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <37 x i8> undef, ptr undef, align 1
2193; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <38 x i8> undef, ptr undef, align 1
2194; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <39 x i8> undef, ptr undef, align 1
2195; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i8> undef, ptr undef, align 1
2196; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i8> undef, ptr undef, align 1
2197; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i8> undef, ptr undef, align 1
2198; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <43 x i8> undef, ptr undef, align 1
2199; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <44 x i8> undef, ptr undef, align 1
2200; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <45 x i8> undef, ptr undef, align 1
2201; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <46 x i8> undef, ptr undef, align 1
2202; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <47 x i8> undef, ptr undef, align 1
2203; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i8> undef, ptr undef, align 1
2204; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <49 x i8> undef, ptr undef, align 1
2205; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <50 x i8> undef, ptr undef, align 1
2206; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <51 x i8> undef, ptr undef, align 1
2207; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <52 x i8> undef, ptr undef, align 1
2208; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <53 x i8> undef, ptr undef, align 1
2209; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <54 x i8> undef, ptr undef, align 1
2210; AVX512-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <55 x i8> undef, ptr undef, align 1
2211; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <56 x i8> undef, ptr undef, align 1
2212; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <57 x i8> undef, ptr undef, align 1
2213; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <58 x i8> undef, ptr undef, align 1
2214; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <59 x i8> undef, ptr undef, align 1
2215; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <60 x i8> undef, ptr undef, align 1
2216; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <61 x i8> undef, ptr undef, align 1
2217; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <62 x i8> undef, ptr undef, align 1
2218; AVX512-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: store <63 x i8> undef, ptr undef, align 1
2219; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 1
2220; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 1
2221; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 1
2222; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 1
2223; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i1> undef, ptr undef, align 1
2224; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <10 x i1> undef, ptr undef, align 1
2225; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i1> undef, ptr undef, align 1
2226; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <12 x i1> undef, ptr undef, align 1
2227; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i1> undef, ptr undef, align 1
2228; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i1> undef, ptr undef, align 1
2229; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <15 x i1> undef, ptr undef, align 1
2230; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i1> undef, ptr undef, align 1
2231; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i1> undef, ptr undef, align 1
2232; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <19 x i1> undef, ptr undef, align 1
2233; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <20 x i1> undef, ptr undef, align 1
2234; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i1> undef, ptr undef, align 1
2235; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i1> undef, ptr undef, align 1
2236; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <23 x i1> undef, ptr undef, align 1
2237; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <24 x i1> undef, ptr undef, align 1
2238; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <25 x i1> undef, ptr undef, align 1
2239; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <26 x i1> undef, ptr undef, align 1
2240; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i1> undef, ptr undef, align 1
2241; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <28 x i1> undef, ptr undef, align 1
2242; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i1> undef, ptr undef, align 1
2243; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i1> undef, ptr undef, align 1
2244; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <31 x i1> undef, ptr undef, align 1
2245; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <33 x i1> undef, ptr undef, align 1
2246; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <34 x i1> undef, ptr undef, align 1
2247; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <35 x i1> undef, ptr undef, align 1
2248; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <36 x i1> undef, ptr undef, align 1
2249; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <37 x i1> undef, ptr undef, align 1
2250; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <38 x i1> undef, ptr undef, align 1
2251; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <39 x i1> undef, ptr undef, align 1
2252; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <40 x i1> undef, ptr undef, align 1
2253; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <41 x i1> undef, ptr undef, align 1
2254; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <42 x i1> undef, ptr undef, align 1
2255; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <43 x i1> undef, ptr undef, align 1
2256; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <44 x i1> undef, ptr undef, align 1
2257; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <45 x i1> undef, ptr undef, align 1
2258; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <46 x i1> undef, ptr undef, align 1
2259; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <47 x i1> undef, ptr undef, align 1
2260; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <48 x i1> undef, ptr undef, align 1
2261; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <49 x i1> undef, ptr undef, align 1
2262; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <50 x i1> undef, ptr undef, align 1
2263; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <51 x i1> undef, ptr undef, align 1
2264; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <52 x i1> undef, ptr undef, align 1
2265; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <53 x i1> undef, ptr undef, align 1
2266; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <54 x i1> undef, ptr undef, align 1
2267; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <55 x i1> undef, ptr undef, align 1
2268; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <56 x i1> undef, ptr undef, align 1
2269; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <57 x i1> undef, ptr undef, align 1
2270; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <58 x i1> undef, ptr undef, align 1
2271; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <59 x i1> undef, ptr undef, align 1
2272; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <60 x i1> undef, ptr undef, align 1
2273; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <61 x i1> undef, ptr undef, align 1
2274; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <62 x i1> undef, ptr undef, align 1
2275; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <63 x i1> undef, ptr undef, align 1
2276; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
2277;
2278  store <1 x i64> undef, ptr undef, align 1
2279  ; <2 x i64> is XMM
2280  store <3 x i64> undef, ptr undef, align 1
2281  ; <4 x i64> is YMM
2282  store <5 x i64> undef, ptr undef, align 1
2283  store <6 x i64> undef, ptr undef, align 1
2284  store <7 x i64> undef, ptr undef, align 1
2285  ; <8 x i64> is ZMM
2286
2287  ; Partial vectors with double elements
2288  store <1 x double> undef, ptr undef, align 1
2289  ; <2 x double> is XMM
2290  store <3 x double> undef, ptr undef, align 1
2291  ; <4 x double> is YMM
2292  store <5 x double> undef, ptr undef, align 1
2293  store <6 x double> undef, ptr undef, align 1
2294  store <7 x double> undef, ptr undef, align 1
2295  ; <8 x double> is ZMM
2296
2297  ; Partial vectors with i32 elements
2298  store <1 x i32> undef, ptr undef, align 1
2299  store <2 x i32> undef, ptr undef, align 1
2300  store <3 x i32> undef, ptr undef, align 1
2301  ; <4 x i32> is XMM
2302  store <5 x i32> undef, ptr undef, align 1
2303  store <6 x i32> undef, ptr undef, align 1
2304  store <7 x i32> undef, ptr undef, align 1
2305  ; <8 x i32> is YMM
2306  store <9 x i32> undef, ptr undef, align 1
2307  store <10 x i32> undef, ptr undef, align 1
2308  store <11 x i32> undef, ptr undef, align 1
2309  store <12 x i32> undef, ptr undef, align 1
2310  store <13 x i32> undef, ptr undef, align 1
2311  store <14 x i32> undef, ptr undef, align 1
2312  store <15 x i32> undef, ptr undef, align 1
2313  ; <16 x i32> is ZMM
2314
2315  ; Partial vectors with float elements
2316  store <1 x float> undef, ptr undef, align 1
2317  store <2 x float> undef, ptr undef, align 1
2318  store <3 x float> undef, ptr undef, align 1
2319  ; <4 x float> is XMM
2320  store <5 x float> undef, ptr undef, align 1
2321  store <6 x float> undef, ptr undef, align 1
2322  store <7 x float> undef, ptr undef, align 1
2323  ; <8 x float> is YMM
2324  store <9 x float> undef, ptr undef, align 1
2325  store <10 x float> undef, ptr undef, align 1
2326  store <11 x float> undef, ptr undef, align 1
2327  store <12 x float> undef, ptr undef, align 1
2328  store <13 x float> undef, ptr undef, align 1
2329  store <14 x float> undef, ptr undef, align 1
2330  store <15 x float> undef, ptr undef, align 1
2331  ; <16 x float> is ZMM
2332
2333  ; Partial vectors with i16 elements
2334  store <1 x i16> undef, ptr undef, align 1
2335  store <2 x i16> undef, ptr undef, align 1
2336  store <3 x i16> undef, ptr undef, align 1
2337  store <4 x i16> undef, ptr undef, align 1
2338  store <5 x i16> undef, ptr undef, align 1
2339  store <6 x i16> undef, ptr undef, align 1
2340  store <7 x i16> undef, ptr undef, align 1
2341  ; <8 x i16> is XMM
2342  store <9 x i16> undef, ptr undef, align 1
2343  store <10 x i16> undef, ptr undef, align 1
2344  store <11 x i16> undef, ptr undef, align 1
2345  store <12 x i16> undef, ptr undef, align 1
2346  store <13 x i16> undef, ptr undef, align 1
2347  store <14 x i16> undef, ptr undef, align 1
2348  store <15 x i16> undef, ptr undef, align 1
2349  ; <16 x i16> is YMM
2350  store <17 x i16> undef, ptr undef, align 1
2351  store <18 x i16> undef, ptr undef, align 1
2352  store <19 x i16> undef, ptr undef, align 1
2353  store <20 x i16> undef, ptr undef, align 1
2354  store <21 x i16> undef, ptr undef, align 1
2355  store <22 x i16> undef, ptr undef, align 1
2356  store <23 x i16> undef, ptr undef, align 1
2357  store <24 x i16> undef, ptr undef, align 1
2358  store <25 x i16> undef, ptr undef, align 1
2359  store <26 x i16> undef, ptr undef, align 1
2360  store <27 x i16> undef, ptr undef, align 1
2361  store <28 x i16> undef, ptr undef, align 1
2362  store <29 x i16> undef, ptr undef, align 1
2363  store <30 x i16> undef, ptr undef, align 1
2364  store <31 x i16> undef, ptr undef, align 1
2365  ; <32 x i16> is ZMM
2366
2367  ; Partial vectors with i8 elements
2368  store <1 x i8> undef, ptr undef, align 1
2369  store <2 x i8> undef, ptr undef, align 1
2370  store <3 x i8> undef, ptr undef, align 1
2371  store <4 x i8> undef, ptr undef, align 1
2372  store <5 x i8> undef, ptr undef, align 1
2373  store <6 x i8> undef, ptr undef, align 1
2374  store <7 x i8> undef, ptr undef, align 1
2375  store <8 x i8> undef, ptr undef, align 1
2376  store <9 x i8> undef, ptr undef, align 1
2377  store <10 x i8> undef, ptr undef, align 1
2378  store <11 x i8> undef, ptr undef, align 1
2379  store <12 x i8> undef, ptr undef, align 1
2380  store <13 x i8> undef, ptr undef, align 1
2381  store <14 x i8> undef, ptr undef, align 1
2382  store <15 x i8> undef, ptr undef, align 1
2383  ; <16 x i8> is XMM
2384  store <17 x i8> undef, ptr undef, align 1
2385  store <18 x i8> undef, ptr undef, align 1
2386  store <19 x i8> undef, ptr undef, align 1
2387  store <20 x i8> undef, ptr undef, align 1
2388  store <21 x i8> undef, ptr undef, align 1
2389  store <22 x i8> undef, ptr undef, align 1
2390  store <23 x i8> undef, ptr undef, align 1
2391  store <24 x i8> undef, ptr undef, align 1
2392  store <25 x i8> undef, ptr undef, align 1
2393  store <26 x i8> undef, ptr undef, align 1
2394  store <27 x i8> undef, ptr undef, align 1
2395  store <28 x i8> undef, ptr undef, align 1
2396  store <29 x i8> undef, ptr undef, align 1
2397  store <30 x i8> undef, ptr undef, align 1
2398  store <31 x i8> undef, ptr undef, align 1
2399  ; <32 x i8> is YMM
2400  store <33 x i8> undef, ptr undef, align 1
2401  store <34 x i8> undef, ptr undef, align 1
2402  store <35 x i8> undef, ptr undef, align 1
2403  store <36 x i8> undef, ptr undef, align 1
2404  store <37 x i8> undef, ptr undef, align 1
2405  store <38 x i8> undef, ptr undef, align 1
2406  store <39 x i8> undef, ptr undef, align 1
2407  store <40 x i8> undef, ptr undef, align 1
2408  store <41 x i8> undef, ptr undef, align 1
2409  store <42 x i8> undef, ptr undef, align 1
2410  store <43 x i8> undef, ptr undef, align 1
2411  store <44 x i8> undef, ptr undef, align 1
2412  store <45 x i8> undef, ptr undef, align 1
2413  store <46 x i8> undef, ptr undef, align 1
2414  store <47 x i8> undef, ptr undef, align 1
2415  store <48 x i8> undef, ptr undef, align 1
2416  store <49 x i8> undef, ptr undef, align 1
2417  store <50 x i8> undef, ptr undef, align 1
2418  store <51 x i8> undef, ptr undef, align 1
2419  store <52 x i8> undef, ptr undef, align 1
2420  store <53 x i8> undef, ptr undef, align 1
2421  store <54 x i8> undef, ptr undef, align 1
2422  store <55 x i8> undef, ptr undef, align 1
2423  store <56 x i8> undef, ptr undef, align 1
2424  store <57 x i8> undef, ptr undef, align 1
2425  store <58 x i8> undef, ptr undef, align 1
2426  store <59 x i8> undef, ptr undef, align 1
2427  store <60 x i8> undef, ptr undef, align 1
2428  store <61 x i8> undef, ptr undef, align 1
2429  store <62 x i8> undef, ptr undef, align 1
2430  store <63 x i8> undef, ptr undef, align 1
2431  ; <64 x i8> is ZMM
2432
2433  ; Partial vectors with i1 elements
2434  ; <1 x i1> is XMM
2435  ; <2 x i1> is XMM
2436  store <3 x i1> undef, ptr undef, align 1
2437  ; <4 x i1> is XMM
2438  store <5 x i1> undef, ptr undef, align 1
2439  store <6 x i1> undef, ptr undef, align 1
2440  store <7 x i1> undef, ptr undef, align 1
2441  ; <8 x i1> is XMM
2442  store <9 x i1> undef, ptr undef, align 1
2443  store <10 x i1> undef, ptr undef, align 1
2444  store <11 x i1> undef, ptr undef, align 1
2445  store <12 x i1> undef, ptr undef, align 1
2446  store <13 x i1> undef, ptr undef, align 1
2447  store <14 x i1> undef, ptr undef, align 1
2448  store <15 x i1> undef, ptr undef, align 1
2449  ; <16 x i1> is XMM
2450  store <17 x i1> undef, ptr undef, align 1
2451  store <18 x i1> undef, ptr undef, align 1
2452  store <19 x i1> undef, ptr undef, align 1
2453  store <20 x i1> undef, ptr undef, align 1
2454  store <21 x i1> undef, ptr undef, align 1
2455  store <22 x i1> undef, ptr undef, align 1
2456  store <23 x i1> undef, ptr undef, align 1
2457  store <24 x i1> undef, ptr undef, align 1
2458  store <25 x i1> undef, ptr undef, align 1
2459  store <26 x i1> undef, ptr undef, align 1
2460  store <27 x i1> undef, ptr undef, align 1
2461  store <28 x i1> undef, ptr undef, align 1
2462  store <29 x i1> undef, ptr undef, align 1
2463  store <30 x i1> undef, ptr undef, align 1
2464  store <31 x i1> undef, ptr undef, align 1
2465  ; <32 x i1> is YMM
2466  store <33 x i1> undef, ptr undef, align 1
2467  store <34 x i1> undef, ptr undef, align 1
2468  store <35 x i1> undef, ptr undef, align 1
2469  store <36 x i1> undef, ptr undef, align 1
2470  store <37 x i1> undef, ptr undef, align 1
2471  store <38 x i1> undef, ptr undef, align 1
2472  store <39 x i1> undef, ptr undef, align 1
2473  store <40 x i1> undef, ptr undef, align 1
2474  store <41 x i1> undef, ptr undef, align 1
2475  store <42 x i1> undef, ptr undef, align 1
2476  store <43 x i1> undef, ptr undef, align 1
2477  store <44 x i1> undef, ptr undef, align 1
2478  store <45 x i1> undef, ptr undef, align 1
2479  store <46 x i1> undef, ptr undef, align 1
2480  store <47 x i1> undef, ptr undef, align 1
2481  store <48 x i1> undef, ptr undef, align 1
2482  store <49 x i1> undef, ptr undef, align 1
2483  store <50 x i1> undef, ptr undef, align 1
2484  store <51 x i1> undef, ptr undef, align 1
2485  store <52 x i1> undef, ptr undef, align 1
2486  store <53 x i1> undef, ptr undef, align 1
2487  store <54 x i1> undef, ptr undef, align 1
2488  store <55 x i1> undef, ptr undef, align 1
2489  store <56 x i1> undef, ptr undef, align 1
2490  store <57 x i1> undef, ptr undef, align 1
2491  store <58 x i1> undef, ptr undef, align 1
2492  store <59 x i1> undef, ptr undef, align 1
2493  store <60 x i1> undef, ptr undef, align 1
2494  store <61 x i1> undef, ptr undef, align 1
2495  store <62 x i1> undef, ptr undef, align 1
2496  store <63 x i1> undef, ptr undef, align 1
2497  ; <64 x i1> is ZMM
2498
2499  ret i32 undef
2500}
2501
2502define i32 @stores_align64(i32 %arg) {
2503  ; Scalars
2504; SSE2-LABEL: 'stores_align64'
2505; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 64
2506; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 64
2507; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 64
2508; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 64
2509; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 64
2510; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 64
2511; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 64
2512; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 64
2513; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 64
2514; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 64
2515; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 64
2516; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <128 x i1> undef, ptr undef, align 64
2517; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 64
2518; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 64
2519; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 64
2520; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 64
2521; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 64
2522; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 64
2523; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 64
2524; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 64
2525; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 64
2526; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 64
2527; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 64
2528; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 64
2529; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i1> undef, ptr undef, align 64
2530; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <256 x i1> undef, ptr undef, align 64
2531; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <32 x i8> undef, ptr undef, align 64
2532; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i16> undef, ptr undef, align 64
2533; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i32> undef, ptr undef, align 64
2534; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i64> undef, ptr undef, align 64
2535; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 64
2536; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 64
2537; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x float> undef, ptr undef, align 64
2538; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x double> undef, ptr undef, align 64
2539; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x ptr> undef, ptr undef, align 64
2540; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 64
2541; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <512 x i1> undef, ptr undef, align 64
2542; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <64 x i8> undef, ptr undef, align 64
2543; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <32 x i16> undef, ptr undef, align 64
2544; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x i32> undef, ptr undef, align 64
2545; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x i64> undef, ptr undef, align 64
2546; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 64
2547; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 64
2548; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 64
2549; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x float> undef, ptr undef, align 64
2550; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x double> undef, ptr undef, align 64
2551; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x ptr> undef, ptr undef, align 64
2552; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 64
2553; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
2554;
2555; SSE41-LABEL: 'stores_align64'
2556; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 64
2557; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 64
2558; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 64
2559; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 64
2560; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 64
2561; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 64
2562; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 64
2563; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 64
2564; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 64
2565; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 64
2566; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 64
2567; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <128 x i1> undef, ptr undef, align 64
2568; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 64
2569; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 64
2570; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 64
2571; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 64
2572; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 64
2573; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 64
2574; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 64
2575; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 64
2576; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 64
2577; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 64
2578; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 64
2579; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 64
2580; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i1> undef, ptr undef, align 64
2581; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <256 x i1> undef, ptr undef, align 64
2582; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <32 x i8> undef, ptr undef, align 64
2583; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i16> undef, ptr undef, align 64
2584; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i32> undef, ptr undef, align 64
2585; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i64> undef, ptr undef, align 64
2586; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 64
2587; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 64
2588; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x float> undef, ptr undef, align 64
2589; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x double> undef, ptr undef, align 64
2590; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x ptr> undef, ptr undef, align 64
2591; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 64
2592; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <512 x i1> undef, ptr undef, align 64
2593; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <64 x i8> undef, ptr undef, align 64
2594; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <32 x i16> undef, ptr undef, align 64
2595; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x i32> undef, ptr undef, align 64
2596; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x i64> undef, ptr undef, align 64
2597; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 64
2598; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 64
2599; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 64
2600; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <16 x float> undef, ptr undef, align 64
2601; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x double> undef, ptr undef, align 64
2602; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <8 x ptr> undef, ptr undef, align 64
2603; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 64
2604; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
2605;
2606; AVX-LABEL: 'stores_align64'
2607; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 64
2608; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 64
2609; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 64
2610; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 64
2611; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 64
2612; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 64
2613; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 64
2614; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 64
2615; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 64
2616; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 64
2617; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 64
2618; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <128 x i1> undef, ptr undef, align 64
2619; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 64
2620; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 64
2621; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 64
2622; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 64
2623; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 64
2624; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 64
2625; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 64
2626; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 64
2627; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 64
2628; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 64
2629; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 64
2630; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 64
2631; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i1> undef, ptr undef, align 64
2632; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <256 x i1> undef, ptr undef, align 64
2633; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i8> undef, ptr undef, align 64
2634; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i16> undef, ptr undef, align 64
2635; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i32> undef, ptr undef, align 64
2636; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i64> undef, ptr undef, align 64
2637; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 64
2638; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 64
2639; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x float> undef, ptr undef, align 64
2640; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x double> undef, ptr undef, align 64
2641; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x ptr> undef, ptr undef, align 64
2642; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 64
2643; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <512 x i1> undef, ptr undef, align 64
2644; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <64 x i8> undef, ptr undef, align 64
2645; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <32 x i16> undef, ptr undef, align 64
2646; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i32> undef, ptr undef, align 64
2647; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i64> undef, ptr undef, align 64
2648; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 64
2649; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 64
2650; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 64
2651; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x float> undef, ptr undef, align 64
2652; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x double> undef, ptr undef, align 64
2653; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x ptr> undef, ptr undef, align 64
2654; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 64
2655; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
2656;
2657; AVX512-LABEL: 'stores_align64'
2658; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i8 undef, ptr undef, align 64
2659; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i16 undef, ptr undef, align 64
2660; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i32 undef, ptr undef, align 64
2661; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i64 undef, ptr undef, align 64
2662; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store i128 undef, ptr undef, align 64
2663; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store i256 undef, ptr undef, align 64
2664; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store i512 undef, ptr undef, align 64
2665; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store float undef, ptr undef, align 64
2666; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store double undef, ptr undef, align 64
2667; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store ptr undef, ptr undef, align 64
2668; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store i1 undef, ptr undef, align 64
2669; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <128 x i1> undef, ptr undef, align 64
2670; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i8> undef, ptr undef, align 64
2671; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i16> undef, ptr undef, align 64
2672; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i32> undef, ptr undef, align 64
2673; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i64> undef, ptr undef, align 64
2674; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i128> undef, ptr undef, align 64
2675; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x float> undef, ptr undef, align 64
2676; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x double> undef, ptr undef, align 64
2677; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x ptr> undef, ptr undef, align 64
2678; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <16 x i1> undef, ptr undef, align 64
2679; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <8 x i1> undef, ptr undef, align 64
2680; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <4 x i1> undef, ptr undef, align 64
2681; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i1> undef, ptr undef, align 64
2682; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <1 x i1> undef, ptr undef, align 64
2683; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <256 x i1> undef, ptr undef, align 64
2684; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i8> undef, ptr undef, align 64
2685; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i16> undef, ptr undef, align 64
2686; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i32> undef, ptr undef, align 64
2687; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i64> undef, ptr undef, align 64
2688; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <2 x i128> undef, ptr undef, align 64
2689; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <1 x i256> undef, ptr undef, align 64
2690; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x float> undef, ptr undef, align 64
2691; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x double> undef, ptr undef, align 64
2692; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x ptr> undef, ptr undef, align 64
2693; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i1> undef, ptr undef, align 64
2694; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <512 x i1> undef, ptr undef, align 64
2695; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i8> undef, ptr undef, align 64
2696; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <32 x i16> undef, ptr undef, align 64
2697; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x i32> undef, ptr undef, align 64
2698; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i64> undef, ptr undef, align 64
2699; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <4 x i128> undef, ptr undef, align 64
2700; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <2 x i256> undef, ptr undef, align 64
2701; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <1 x i512> undef, ptr undef, align 64
2702; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <16 x float> undef, ptr undef, align 64
2703; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x double> undef, ptr undef, align 64
2704; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x ptr> undef, ptr undef, align 64
2705; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <64 x i1> undef, ptr undef, align 64
2706; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
2707;
2708  store i8 undef, ptr undef, align 64
2709  store i16 undef, ptr undef, align 64
2710  store i32 undef, ptr undef, align 64
2711  store i64 undef, ptr undef, align 64
2712  store i128 undef, ptr undef, align 64
2713  store i256 undef, ptr undef, align 64
2714  store i512 undef, ptr undef, align 64
2715
2716  store float undef, ptr undef, align 64
2717  store double undef, ptr undef, align 64
2718
2719  store ptr undef, ptr undef, align 64
2720
2721  store i1 undef, ptr undef, align 64
2722
2723  ; XMM (128-bit) vectors
2724  store <128 x i1> undef, ptr undef, align 64
2725  store <16 x i8> undef, ptr undef, align 64
2726  store <8 x i16> undef, ptr undef, align 64
2727  store <4 x i32> undef, ptr undef, align 64
2728  store <2 x i64> undef, ptr undef, align 64
2729  store <1 x i128> undef, ptr undef, align 64
2730
2731  store <4 x float> undef, ptr undef, align 64
2732  store <2 x double> undef, ptr undef, align 64
2733
2734  store <2 x ptr> undef, ptr undef, align 64
2735
2736  store <16 x i1> undef, ptr undef, align 64
2737  store <8 x i1> undef, ptr undef, align 64
2738  store <4 x i1> undef, ptr undef, align 64
2739  store <2 x i1> undef, ptr undef, align 64
2740  store <1 x i1> undef, ptr undef, align 64
2741
2742  ; YMM (256-bit) vectors
2743  store <256 x i1> undef, ptr undef, align 64
2744  store <32 x i8> undef, ptr undef, align 64
2745  store <16 x i16> undef, ptr undef, align 64
2746  store <8 x i32> undef, ptr undef, align 64
2747  store <4 x i64> undef, ptr undef, align 64
2748  store <2 x i128> undef, ptr undef, align 64
2749  store <1 x i256> undef, ptr undef, align 64
2750
2751  store <8 x float> undef, ptr undef, align 64
2752  store <4 x double> undef, ptr undef, align 64
2753
2754  store <4 x ptr> undef, ptr undef, align 64
2755
2756  store <32 x i1> undef, ptr undef, align 64
2757
2758  ; ZMM (512-bit) vectors
2759  store <512 x i1> undef, ptr undef, align 64
2760  store <64 x i8> undef, ptr undef, align 64
2761  store <32 x i16> undef, ptr undef, align 64
2762  store <16 x i32> undef, ptr undef, align 64
2763  store <8 x i64> undef, ptr undef, align 64
2764  store <4 x i128> undef, ptr undef, align 64
2765  store <2 x i256> undef, ptr undef, align 64
2766  store <1 x i512> undef, ptr undef, align 64
2767
2768  store <16 x float> undef, ptr undef, align 64
2769  store <8 x double> undef, ptr undef, align 64
2770
2771  store <8 x ptr> undef, ptr undef, align 64
2772
2773  store <64 x i1> undef, ptr undef, align 64
2774
2775  ret i32 undef
2776}
2777
2778define i32 @stores_partial_align64(i32 %arg) {
2779  ; Partial vectors with i64 elements (doubles as pointer-sized tests))
2780; SSE2-LABEL: 'stores_partial_align64'
2781; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 64
2782; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i64> undef, ptr undef, align 64
2783; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x i64> undef, ptr undef, align 64
2784; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i64> undef, ptr undef, align 64
2785; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i64> undef, ptr undef, align 64
2786; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 64
2787; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x double> undef, ptr undef, align 64
2788; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x double> undef, ptr undef, align 64
2789; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x double> undef, ptr undef, align 64
2790; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x double> undef, ptr undef, align 64
2791; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 64
2792; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 64
2793; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i32> undef, ptr undef, align 64
2794; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i32> undef, ptr undef, align 64
2795; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i32> undef, ptr undef, align 64
2796; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i32> undef, ptr undef, align 64
2797; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i32> undef, ptr undef, align 64
2798; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x i32> undef, ptr undef, align 64
2799; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <11 x i32> undef, ptr undef, align 64
2800; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i32> undef, ptr undef, align 64
2801; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x i32> undef, ptr undef, align 64
2802; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i32> undef, ptr undef, align 64
2803; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x i32> undef, ptr undef, align 64
2804; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 64
2805; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 64
2806; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 64
2807; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x float> undef, ptr undef, align 64
2808; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x float> undef, ptr undef, align 64
2809; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x float> undef, ptr undef, align 64
2810; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x float> undef, ptr undef, align 64
2811; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x float> undef, ptr undef, align 64
2812; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x float> undef, ptr undef, align 64
2813; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x float> undef, ptr undef, align 64
2814; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x float> undef, ptr undef, align 64
2815; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x float> undef, ptr undef, align 64
2816; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x float> undef, ptr undef, align 64
2817; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 64
2818; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 64
2819; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 64
2820; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 64
2821; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 64
2822; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i16> undef, ptr undef, align 64
2823; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i16> undef, ptr undef, align 64
2824; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i16> undef, ptr undef, align 64
2825; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x i16> undef, ptr undef, align 64
2826; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i16> undef, ptr undef, align 64
2827; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x i16> undef, ptr undef, align 64
2828; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i16> undef, ptr undef, align 64
2829; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i16> undef, ptr undef, align 64
2830; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <15 x i16> undef, ptr undef, align 64
2831; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i16> undef, ptr undef, align 64
2832; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i16> undef, ptr undef, align 64
2833; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <19 x i16> undef, ptr undef, align 64
2834; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <20 x i16> undef, ptr undef, align 64
2835; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i16> undef, ptr undef, align 64
2836; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <22 x i16> undef, ptr undef, align 64
2837; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <23 x i16> undef, ptr undef, align 64
2838; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i16> undef, ptr undef, align 64
2839; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <25 x i16> undef, ptr undef, align 64
2840; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <26 x i16> undef, ptr undef, align 64
2841; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <27 x i16> undef, ptr undef, align 64
2842; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i16> undef, ptr undef, align 64
2843; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i16> undef, ptr undef, align 64
2844; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i16> undef, ptr undef, align 64
2845; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <31 x i16> undef, ptr undef, align 64
2846; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 64
2847; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 64
2848; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <3 x i8> undef, ptr undef, align 64
2849; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 64
2850; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <5 x i8> undef, ptr undef, align 64
2851; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 64
2852; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <7 x i8> undef, ptr undef, align 64
2853; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 64
2854; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i8> undef, ptr undef, align 64
2855; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 64
2856; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <11 x i8> undef, ptr undef, align 64
2857; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <12 x i8> undef, ptr undef, align 64
2858; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <13 x i8> undef, ptr undef, align 64
2859; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <14 x i8> undef, ptr undef, align 64
2860; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <15 x i8> undef, ptr undef, align 64
2861; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <17 x i8> undef, ptr undef, align 64
2862; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i8> undef, ptr undef, align 64
2863; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <19 x i8> undef, ptr undef, align 64
2864; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <20 x i8> undef, ptr undef, align 64
2865; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i8> undef, ptr undef, align 64
2866; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i8> undef, ptr undef, align 64
2867; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <23 x i8> undef, ptr undef, align 64
2868; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <24 x i8> undef, ptr undef, align 64
2869; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i8> undef, ptr undef, align 64
2870; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <26 x i8> undef, ptr undef, align 64
2871; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i8> undef, ptr undef, align 64
2872; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i8> undef, ptr undef, align 64
2873; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <29 x i8> undef, ptr undef, align 64
2874; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i8> undef, ptr undef, align 64
2875; SSE2-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <31 x i8> undef, ptr undef, align 64
2876; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <33 x i8> undef, ptr undef, align 64
2877; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <34 x i8> undef, ptr undef, align 64
2878; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <35 x i8> undef, ptr undef, align 64
2879; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i8> undef, ptr undef, align 64
2880; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <37 x i8> undef, ptr undef, align 64
2881; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <38 x i8> undef, ptr undef, align 64
2882; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <39 x i8> undef, ptr undef, align 64
2883; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i8> undef, ptr undef, align 64
2884; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <41 x i8> undef, ptr undef, align 64
2885; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i8> undef, ptr undef, align 64
2886; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <43 x i8> undef, ptr undef, align 64
2887; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <44 x i8> undef, ptr undef, align 64
2888; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <45 x i8> undef, ptr undef, align 64
2889; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <46 x i8> undef, ptr undef, align 64
2890; SSE2-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: store <47 x i8> undef, ptr undef, align 64
2891; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i8> undef, ptr undef, align 64
2892; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i8> undef, ptr undef, align 64
2893; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i8> undef, ptr undef, align 64
2894; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <51 x i8> undef, ptr undef, align 64
2895; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <52 x i8> undef, ptr undef, align 64
2896; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <53 x i8> undef, ptr undef, align 64
2897; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <54 x i8> undef, ptr undef, align 64
2898; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <55 x i8> undef, ptr undef, align 64
2899; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <56 x i8> undef, ptr undef, align 64
2900; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <57 x i8> undef, ptr undef, align 64
2901; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <58 x i8> undef, ptr undef, align 64
2902; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <59 x i8> undef, ptr undef, align 64
2903; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <60 x i8> undef, ptr undef, align 64
2904; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <61 x i8> undef, ptr undef, align 64
2905; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <62 x i8> undef, ptr undef, align 64
2906; SSE2-NEXT:  Cost Model: Found an estimated cost of 14 for instruction: store <63 x i8> undef, ptr undef, align 64
2907; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 64
2908; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 64
2909; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 64
2910; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 64
2911; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <9 x i1> undef, ptr undef, align 64
2912; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <10 x i1> undef, ptr undef, align 64
2913; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <11 x i1> undef, ptr undef, align 64
2914; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <12 x i1> undef, ptr undef, align 64
2915; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i1> undef, ptr undef, align 64
2916; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i1> undef, ptr undef, align 64
2917; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x i1> undef, ptr undef, align 64
2918; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i1> undef, ptr undef, align 64
2919; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <18 x i1> undef, ptr undef, align 64
2920; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <19 x i1> undef, ptr undef, align 64
2921; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i1> undef, ptr undef, align 64
2922; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <21 x i1> undef, ptr undef, align 64
2923; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <22 x i1> undef, ptr undef, align 64
2924; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <23 x i1> undef, ptr undef, align 64
2925; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <24 x i1> undef, ptr undef, align 64
2926; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <25 x i1> undef, ptr undef, align 64
2927; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <26 x i1> undef, ptr undef, align 64
2928; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i1> undef, ptr undef, align 64
2929; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <28 x i1> undef, ptr undef, align 64
2930; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i1> undef, ptr undef, align 64
2931; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i1> undef, ptr undef, align 64
2932; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <31 x i1> undef, ptr undef, align 64
2933; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i1> undef, ptr undef, align 64
2934; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i1> undef, ptr undef, align 64
2935; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <35 x i1> undef, ptr undef, align 64
2936; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i1> undef, ptr undef, align 64
2937; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <37 x i1> undef, ptr undef, align 64
2938; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <38 x i1> undef, ptr undef, align 64
2939; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <39 x i1> undef, ptr undef, align 64
2940; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i1> undef, ptr undef, align 64
2941; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <41 x i1> undef, ptr undef, align 64
2942; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <42 x i1> undef, ptr undef, align 64
2943; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <43 x i1> undef, ptr undef, align 64
2944; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <44 x i1> undef, ptr undef, align 64
2945; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <45 x i1> undef, ptr undef, align 64
2946; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <46 x i1> undef, ptr undef, align 64
2947; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <47 x i1> undef, ptr undef, align 64
2948; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i1> undef, ptr undef, align 64
2949; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i1> undef, ptr undef, align 64
2950; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i1> undef, ptr undef, align 64
2951; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <51 x i1> undef, ptr undef, align 64
2952; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <52 x i1> undef, ptr undef, align 64
2953; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <53 x i1> undef, ptr undef, align 64
2954; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <54 x i1> undef, ptr undef, align 64
2955; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <55 x i1> undef, ptr undef, align 64
2956; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <56 x i1> undef, ptr undef, align 64
2957; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <57 x i1> undef, ptr undef, align 64
2958; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <58 x i1> undef, ptr undef, align 64
2959; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <59 x i1> undef, ptr undef, align 64
2960; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <60 x i1> undef, ptr undef, align 64
2961; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i1> undef, ptr undef, align 64
2962; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i1> undef, ptr undef, align 64
2963; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <63 x i1> undef, ptr undef, align 64
2964; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
2965;
2966; SSE41-LABEL: 'stores_partial_align64'
2967; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 64
2968; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i64> undef, ptr undef, align 64
2969; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x i64> undef, ptr undef, align 64
2970; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i64> undef, ptr undef, align 64
2971; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i64> undef, ptr undef, align 64
2972; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 64
2973; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x double> undef, ptr undef, align 64
2974; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x double> undef, ptr undef, align 64
2975; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x double> undef, ptr undef, align 64
2976; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x double> undef, ptr undef, align 64
2977; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 64
2978; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 64
2979; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i32> undef, ptr undef, align 64
2980; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i32> undef, ptr undef, align 64
2981; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i32> undef, ptr undef, align 64
2982; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i32> undef, ptr undef, align 64
2983; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i32> undef, ptr undef, align 64
2984; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x i32> undef, ptr undef, align 64
2985; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i32> undef, ptr undef, align 64
2986; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i32> undef, ptr undef, align 64
2987; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x i32> undef, ptr undef, align 64
2988; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i32> undef, ptr undef, align 64
2989; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x i32> undef, ptr undef, align 64
2990; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 64
2991; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 64
2992; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 64
2993; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x float> undef, ptr undef, align 64
2994; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x float> undef, ptr undef, align 64
2995; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x float> undef, ptr undef, align 64
2996; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x float> undef, ptr undef, align 64
2997; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x float> undef, ptr undef, align 64
2998; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x float> undef, ptr undef, align 64
2999; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x float> undef, ptr undef, align 64
3000; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x float> undef, ptr undef, align 64
3001; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x float> undef, ptr undef, align 64
3002; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x float> undef, ptr undef, align 64
3003; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 64
3004; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 64
3005; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 64
3006; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 64
3007; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 64
3008; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i16> undef, ptr undef, align 64
3009; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <7 x i16> undef, ptr undef, align 64
3010; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x i16> undef, ptr undef, align 64
3011; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x i16> undef, ptr undef, align 64
3012; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i16> undef, ptr undef, align 64
3013; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x i16> undef, ptr undef, align 64
3014; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i16> undef, ptr undef, align 64
3015; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i16> undef, ptr undef, align 64
3016; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x i16> undef, ptr undef, align 64
3017; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i16> undef, ptr undef, align 64
3018; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i16> undef, ptr undef, align 64
3019; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <19 x i16> undef, ptr undef, align 64
3020; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <20 x i16> undef, ptr undef, align 64
3021; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i16> undef, ptr undef, align 64
3022; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i16> undef, ptr undef, align 64
3023; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <23 x i16> undef, ptr undef, align 64
3024; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i16> undef, ptr undef, align 64
3025; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <25 x i16> undef, ptr undef, align 64
3026; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <26 x i16> undef, ptr undef, align 64
3027; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <27 x i16> undef, ptr undef, align 64
3028; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i16> undef, ptr undef, align 64
3029; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i16> undef, ptr undef, align 64
3030; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <30 x i16> undef, ptr undef, align 64
3031; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <31 x i16> undef, ptr undef, align 64
3032; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 64
3033; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 64
3034; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <3 x i8> undef, ptr undef, align 64
3035; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 64
3036; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i8> undef, ptr undef, align 64
3037; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 64
3038; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i8> undef, ptr undef, align 64
3039; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 64
3040; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i8> undef, ptr undef, align 64
3041; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 64
3042; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i8> undef, ptr undef, align 64
3043; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i8> undef, ptr undef, align 64
3044; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i8> undef, ptr undef, align 64
3045; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i8> undef, ptr undef, align 64
3046; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <15 x i8> undef, ptr undef, align 64
3047; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <17 x i8> undef, ptr undef, align 64
3048; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <18 x i8> undef, ptr undef, align 64
3049; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <19 x i8> undef, ptr undef, align 64
3050; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <20 x i8> undef, ptr undef, align 64
3051; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i8> undef, ptr undef, align 64
3052; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i8> undef, ptr undef, align 64
3053; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <23 x i8> undef, ptr undef, align 64
3054; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <24 x i8> undef, ptr undef, align 64
3055; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <25 x i8> undef, ptr undef, align 64
3056; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <26 x i8> undef, ptr undef, align 64
3057; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i8> undef, ptr undef, align 64
3058; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i8> undef, ptr undef, align 64
3059; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i8> undef, ptr undef, align 64
3060; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i8> undef, ptr undef, align 64
3061; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <31 x i8> undef, ptr undef, align 64
3062; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <33 x i8> undef, ptr undef, align 64
3063; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <34 x i8> undef, ptr undef, align 64
3064; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <35 x i8> undef, ptr undef, align 64
3065; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i8> undef, ptr undef, align 64
3066; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <37 x i8> undef, ptr undef, align 64
3067; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <38 x i8> undef, ptr undef, align 64
3068; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <39 x i8> undef, ptr undef, align 64
3069; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i8> undef, ptr undef, align 64
3070; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i8> undef, ptr undef, align 64
3071; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i8> undef, ptr undef, align 64
3072; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <43 x i8> undef, ptr undef, align 64
3073; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <44 x i8> undef, ptr undef, align 64
3074; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <45 x i8> undef, ptr undef, align 64
3075; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <46 x i8> undef, ptr undef, align 64
3076; SSE41-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <47 x i8> undef, ptr undef, align 64
3077; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i8> undef, ptr undef, align 64
3078; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i8> undef, ptr undef, align 64
3079; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i8> undef, ptr undef, align 64
3080; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <51 x i8> undef, ptr undef, align 64
3081; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <52 x i8> undef, ptr undef, align 64
3082; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <53 x i8> undef, ptr undef, align 64
3083; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <54 x i8> undef, ptr undef, align 64
3084; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <55 x i8> undef, ptr undef, align 64
3085; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <56 x i8> undef, ptr undef, align 64
3086; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <57 x i8> undef, ptr undef, align 64
3087; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <58 x i8> undef, ptr undef, align 64
3088; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <59 x i8> undef, ptr undef, align 64
3089; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <60 x i8> undef, ptr undef, align 64
3090; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i8> undef, ptr undef, align 64
3091; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i8> undef, ptr undef, align 64
3092; SSE41-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <63 x i8> undef, ptr undef, align 64
3093; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 64
3094; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 64
3095; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 64
3096; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 64
3097; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i1> undef, ptr undef, align 64
3098; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <10 x i1> undef, ptr undef, align 64
3099; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i1> undef, ptr undef, align 64
3100; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <12 x i1> undef, ptr undef, align 64
3101; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i1> undef, ptr undef, align 64
3102; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i1> undef, ptr undef, align 64
3103; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <15 x i1> undef, ptr undef, align 64
3104; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <17 x i1> undef, ptr undef, align 64
3105; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <18 x i1> undef, ptr undef, align 64
3106; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <19 x i1> undef, ptr undef, align 64
3107; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i1> undef, ptr undef, align 64
3108; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <21 x i1> undef, ptr undef, align 64
3109; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <22 x i1> undef, ptr undef, align 64
3110; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <23 x i1> undef, ptr undef, align 64
3111; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <24 x i1> undef, ptr undef, align 64
3112; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <25 x i1> undef, ptr undef, align 64
3113; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <26 x i1> undef, ptr undef, align 64
3114; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <27 x i1> undef, ptr undef, align 64
3115; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <28 x i1> undef, ptr undef, align 64
3116; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i1> undef, ptr undef, align 64
3117; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i1> undef, ptr undef, align 64
3118; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <31 x i1> undef, ptr undef, align 64
3119; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i1> undef, ptr undef, align 64
3120; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i1> undef, ptr undef, align 64
3121; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <35 x i1> undef, ptr undef, align 64
3122; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i1> undef, ptr undef, align 64
3123; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <37 x i1> undef, ptr undef, align 64
3124; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <38 x i1> undef, ptr undef, align 64
3125; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <39 x i1> undef, ptr undef, align 64
3126; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i1> undef, ptr undef, align 64
3127; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i1> undef, ptr undef, align 64
3128; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i1> undef, ptr undef, align 64
3129; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <43 x i1> undef, ptr undef, align 64
3130; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <44 x i1> undef, ptr undef, align 64
3131; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <45 x i1> undef, ptr undef, align 64
3132; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <46 x i1> undef, ptr undef, align 64
3133; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <47 x i1> undef, ptr undef, align 64
3134; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i1> undef, ptr undef, align 64
3135; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <49 x i1> undef, ptr undef, align 64
3136; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <50 x i1> undef, ptr undef, align 64
3137; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <51 x i1> undef, ptr undef, align 64
3138; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <52 x i1> undef, ptr undef, align 64
3139; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <53 x i1> undef, ptr undef, align 64
3140; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <54 x i1> undef, ptr undef, align 64
3141; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <55 x i1> undef, ptr undef, align 64
3142; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <56 x i1> undef, ptr undef, align 64
3143; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <57 x i1> undef, ptr undef, align 64
3144; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <58 x i1> undef, ptr undef, align 64
3145; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <59 x i1> undef, ptr undef, align 64
3146; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <60 x i1> undef, ptr undef, align 64
3147; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <61 x i1> undef, ptr undef, align 64
3148; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <62 x i1> undef, ptr undef, align 64
3149; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <63 x i1> undef, ptr undef, align 64
3150; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
3151;
3152; AVX-LABEL: 'stores_partial_align64'
3153; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 64
3154; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i64> undef, ptr undef, align 64
3155; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i64> undef, ptr undef, align 64
3156; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i64> undef, ptr undef, align 64
3157; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x i64> undef, ptr undef, align 64
3158; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 64
3159; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x double> undef, ptr undef, align 64
3160; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x double> undef, ptr undef, align 64
3161; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x double> undef, ptr undef, align 64
3162; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <7 x double> undef, ptr undef, align 64
3163; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 64
3164; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 64
3165; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i32> undef, ptr undef, align 64
3166; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i32> undef, ptr undef, align 64
3167; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i32> undef, ptr undef, align 64
3168; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i32> undef, ptr undef, align 64
3169; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <9 x i32> undef, ptr undef, align 64
3170; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x i32> undef, ptr undef, align 64
3171; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <11 x i32> undef, ptr undef, align 64
3172; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x i32> undef, ptr undef, align 64
3173; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i32> undef, ptr undef, align 64
3174; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x i32> undef, ptr undef, align 64
3175; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x i32> undef, ptr undef, align 64
3176; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 64
3177; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 64
3178; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 64
3179; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x float> undef, ptr undef, align 64
3180; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x float> undef, ptr undef, align 64
3181; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x float> undef, ptr undef, align 64
3182; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <9 x float> undef, ptr undef, align 64
3183; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <10 x float> undef, ptr undef, align 64
3184; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <11 x float> undef, ptr undef, align 64
3185; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <12 x float> undef, ptr undef, align 64
3186; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <13 x float> undef, ptr undef, align 64
3187; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <14 x float> undef, ptr undef, align 64
3188; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <15 x float> undef, ptr undef, align 64
3189; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 64
3190; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 64
3191; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 64
3192; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 64
3193; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 64
3194; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i16> undef, ptr undef, align 64
3195; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <7 x i16> undef, ptr undef, align 64
3196; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i16> undef, ptr undef, align 64
3197; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i16> undef, ptr undef, align 64
3198; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i16> undef, ptr undef, align 64
3199; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i16> undef, ptr undef, align 64
3200; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i16> undef, ptr undef, align 64
3201; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i16> undef, ptr undef, align 64
3202; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <15 x i16> undef, ptr undef, align 64
3203; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <17 x i16> undef, ptr undef, align 64
3204; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <18 x i16> undef, ptr undef, align 64
3205; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <19 x i16> undef, ptr undef, align 64
3206; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <20 x i16> undef, ptr undef, align 64
3207; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i16> undef, ptr undef, align 64
3208; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <22 x i16> undef, ptr undef, align 64
3209; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <23 x i16> undef, ptr undef, align 64
3210; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <24 x i16> undef, ptr undef, align 64
3211; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i16> undef, ptr undef, align 64
3212; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <26 x i16> undef, ptr undef, align 64
3213; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i16> undef, ptr undef, align 64
3214; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <28 x i16> undef, ptr undef, align 64
3215; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <29 x i16> undef, ptr undef, align 64
3216; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <30 x i16> undef, ptr undef, align 64
3217; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <31 x i16> undef, ptr undef, align 64
3218; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 64
3219; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 64
3220; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <3 x i8> undef, ptr undef, align 64
3221; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 64
3222; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i8> undef, ptr undef, align 64
3223; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 64
3224; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i8> undef, ptr undef, align 64
3225; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 64
3226; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i8> undef, ptr undef, align 64
3227; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 64
3228; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i8> undef, ptr undef, align 64
3229; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i8> undef, ptr undef, align 64
3230; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i8> undef, ptr undef, align 64
3231; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i8> undef, ptr undef, align 64
3232; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <15 x i8> undef, ptr undef, align 64
3233; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i8> undef, ptr undef, align 64
3234; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i8> undef, ptr undef, align 64
3235; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <19 x i8> undef, ptr undef, align 64
3236; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i8> undef, ptr undef, align 64
3237; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <21 x i8> undef, ptr undef, align 64
3238; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <22 x i8> undef, ptr undef, align 64
3239; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <23 x i8> undef, ptr undef, align 64
3240; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i8> undef, ptr undef, align 64
3241; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i8> undef, ptr undef, align 64
3242; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <26 x i8> undef, ptr undef, align 64
3243; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i8> undef, ptr undef, align 64
3244; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i8> undef, ptr undef, align 64
3245; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i8> undef, ptr undef, align 64
3246; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i8> undef, ptr undef, align 64
3247; AVX-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <31 x i8> undef, ptr undef, align 64
3248; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i8> undef, ptr undef, align 64
3249; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i8> undef, ptr undef, align 64
3250; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <35 x i8> undef, ptr undef, align 64
3251; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <36 x i8> undef, ptr undef, align 64
3252; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <37 x i8> undef, ptr undef, align 64
3253; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <38 x i8> undef, ptr undef, align 64
3254; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <39 x i8> undef, ptr undef, align 64
3255; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <40 x i8> undef, ptr undef, align 64
3256; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <41 x i8> undef, ptr undef, align 64
3257; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <42 x i8> undef, ptr undef, align 64
3258; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <43 x i8> undef, ptr undef, align 64
3259; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <44 x i8> undef, ptr undef, align 64
3260; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <45 x i8> undef, ptr undef, align 64
3261; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <46 x i8> undef, ptr undef, align 64
3262; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <47 x i8> undef, ptr undef, align 64
3263; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <48 x i8> undef, ptr undef, align 64
3264; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <49 x i8> undef, ptr undef, align 64
3265; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <50 x i8> undef, ptr undef, align 64
3266; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <51 x i8> undef, ptr undef, align 64
3267; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <52 x i8> undef, ptr undef, align 64
3268; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <53 x i8> undef, ptr undef, align 64
3269; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <54 x i8> undef, ptr undef, align 64
3270; AVX-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <55 x i8> undef, ptr undef, align 64
3271; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <56 x i8> undef, ptr undef, align 64
3272; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <57 x i8> undef, ptr undef, align 64
3273; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <58 x i8> undef, ptr undef, align 64
3274; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <59 x i8> undef, ptr undef, align 64
3275; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <60 x i8> undef, ptr undef, align 64
3276; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i8> undef, ptr undef, align 64
3277; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i8> undef, ptr undef, align 64
3278; AVX-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <63 x i8> undef, ptr undef, align 64
3279; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 64
3280; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 64
3281; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 64
3282; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 64
3283; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i1> undef, ptr undef, align 64
3284; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <10 x i1> undef, ptr undef, align 64
3285; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i1> undef, ptr undef, align 64
3286; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <12 x i1> undef, ptr undef, align 64
3287; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i1> undef, ptr undef, align 64
3288; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i1> undef, ptr undef, align 64
3289; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <15 x i1> undef, ptr undef, align 64
3290; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i1> undef, ptr undef, align 64
3291; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i1> undef, ptr undef, align 64
3292; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <19 x i1> undef, ptr undef, align 64
3293; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <20 x i1> undef, ptr undef, align 64
3294; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i1> undef, ptr undef, align 64
3295; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i1> undef, ptr undef, align 64
3296; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <23 x i1> undef, ptr undef, align 64
3297; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <24 x i1> undef, ptr undef, align 64
3298; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <25 x i1> undef, ptr undef, align 64
3299; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <26 x i1> undef, ptr undef, align 64
3300; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i1> undef, ptr undef, align 64
3301; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <28 x i1> undef, ptr undef, align 64
3302; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i1> undef, ptr undef, align 64
3303; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i1> undef, ptr undef, align 64
3304; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <31 x i1> undef, ptr undef, align 64
3305; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <33 x i1> undef, ptr undef, align 64
3306; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <34 x i1> undef, ptr undef, align 64
3307; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <35 x i1> undef, ptr undef, align 64
3308; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <36 x i1> undef, ptr undef, align 64
3309; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <37 x i1> undef, ptr undef, align 64
3310; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <38 x i1> undef, ptr undef, align 64
3311; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <39 x i1> undef, ptr undef, align 64
3312; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i1> undef, ptr undef, align 64
3313; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i1> undef, ptr undef, align 64
3314; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i1> undef, ptr undef, align 64
3315; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <43 x i1> undef, ptr undef, align 64
3316; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <44 x i1> undef, ptr undef, align 64
3317; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <45 x i1> undef, ptr undef, align 64
3318; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <46 x i1> undef, ptr undef, align 64
3319; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <47 x i1> undef, ptr undef, align 64
3320; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i1> undef, ptr undef, align 64
3321; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <49 x i1> undef, ptr undef, align 64
3322; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <50 x i1> undef, ptr undef, align 64
3323; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <51 x i1> undef, ptr undef, align 64
3324; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <52 x i1> undef, ptr undef, align 64
3325; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <53 x i1> undef, ptr undef, align 64
3326; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <54 x i1> undef, ptr undef, align 64
3327; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <55 x i1> undef, ptr undef, align 64
3328; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <56 x i1> undef, ptr undef, align 64
3329; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <57 x i1> undef, ptr undef, align 64
3330; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <58 x i1> undef, ptr undef, align 64
3331; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <59 x i1> undef, ptr undef, align 64
3332; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <60 x i1> undef, ptr undef, align 64
3333; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <61 x i1> undef, ptr undef, align 64
3334; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <62 x i1> undef, ptr undef, align 64
3335; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <63 x i1> undef, ptr undef, align 64
3336; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
3337;
3338; AVX512-LABEL: 'stores_partial_align64'
3339; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i64> undef, ptr undef, align 64
3340; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i64> undef, ptr undef, align 64
3341; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x i64> undef, ptr undef, align 64
3342; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i64> undef, ptr undef, align 64
3343; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i64> undef, ptr undef, align 64
3344; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x double> undef, ptr undef, align 64
3345; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x double> undef, ptr undef, align 64
3346; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x double> undef, ptr undef, align 64
3347; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x double> undef, ptr undef, align 64
3348; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x double> undef, ptr undef, align 64
3349; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i32> undef, ptr undef, align 64
3350; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i32> undef, ptr undef, align 64
3351; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x i32> undef, ptr undef, align 64
3352; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i32> undef, ptr undef, align 64
3353; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i32> undef, ptr undef, align 64
3354; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x i32> undef, ptr undef, align 64
3355; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i32> undef, ptr undef, align 64
3356; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x i32> undef, ptr undef, align 64
3357; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i32> undef, ptr undef, align 64
3358; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i32> undef, ptr undef, align 64
3359; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i32> undef, ptr undef, align 64
3360; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i32> undef, ptr undef, align 64
3361; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x i32> undef, ptr undef, align 64
3362; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x float> undef, ptr undef, align 64
3363; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x float> undef, ptr undef, align 64
3364; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <3 x float> undef, ptr undef, align 64
3365; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <5 x float> undef, ptr undef, align 64
3366; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x float> undef, ptr undef, align 64
3367; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <7 x float> undef, ptr undef, align 64
3368; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <9 x float> undef, ptr undef, align 64
3369; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <10 x float> undef, ptr undef, align 64
3370; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x float> undef, ptr undef, align 64
3371; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x float> undef, ptr undef, align 64
3372; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x float> undef, ptr undef, align 64
3373; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x float> undef, ptr undef, align 64
3374; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <15 x float> undef, ptr undef, align 64
3375; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i16> undef, ptr undef, align 64
3376; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <2 x i16> undef, ptr undef, align 64
3377; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <3 x i16> undef, ptr undef, align 64
3378; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i16> undef, ptr undef, align 64
3379; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i16> undef, ptr undef, align 64
3380; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <6 x i16> undef, ptr undef, align 64
3381; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <7 x i16> undef, ptr undef, align 64
3382; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i16> undef, ptr undef, align 64
3383; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i16> undef, ptr undef, align 64
3384; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i16> undef, ptr undef, align 64
3385; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i16> undef, ptr undef, align 64
3386; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i16> undef, ptr undef, align 64
3387; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i16> undef, ptr undef, align 64
3388; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <15 x i16> undef, ptr undef, align 64
3389; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i16> undef, ptr undef, align 64
3390; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <18 x i16> undef, ptr undef, align 64
3391; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <19 x i16> undef, ptr undef, align 64
3392; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <20 x i16> undef, ptr undef, align 64
3393; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <21 x i16> undef, ptr undef, align 64
3394; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i16> undef, ptr undef, align 64
3395; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <23 x i16> undef, ptr undef, align 64
3396; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i16> undef, ptr undef, align 64
3397; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <25 x i16> undef, ptr undef, align 64
3398; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <26 x i16> undef, ptr undef, align 64
3399; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i16> undef, ptr undef, align 64
3400; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i16> undef, ptr undef, align 64
3401; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i16> undef, ptr undef, align 64
3402; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <30 x i16> undef, ptr undef, align 64
3403; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <31 x i16> undef, ptr undef, align 64
3404; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <1 x i8> undef, ptr undef, align 64
3405; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <2 x i8> undef, ptr undef, align 64
3406; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <3 x i8> undef, ptr undef, align 64
3407; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <4 x i8> undef, ptr undef, align 64
3408; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <5 x i8> undef, ptr undef, align 64
3409; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <6 x i8> undef, ptr undef, align 64
3410; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <7 x i8> undef, ptr undef, align 64
3411; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: store <8 x i8> undef, ptr undef, align 64
3412; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <9 x i8> undef, ptr undef, align 64
3413; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <10 x i8> undef, ptr undef, align 64
3414; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <11 x i8> undef, ptr undef, align 64
3415; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <12 x i8> undef, ptr undef, align 64
3416; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <13 x i8> undef, ptr undef, align 64
3417; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <14 x i8> undef, ptr undef, align 64
3418; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <15 x i8> undef, ptr undef, align 64
3419; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i8> undef, ptr undef, align 64
3420; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i8> undef, ptr undef, align 64
3421; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <19 x i8> undef, ptr undef, align 64
3422; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <20 x i8> undef, ptr undef, align 64
3423; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <21 x i8> undef, ptr undef, align 64
3424; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <22 x i8> undef, ptr undef, align 64
3425; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <23 x i8> undef, ptr undef, align 64
3426; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <24 x i8> undef, ptr undef, align 64
3427; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <25 x i8> undef, ptr undef, align 64
3428; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <26 x i8> undef, ptr undef, align 64
3429; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <27 x i8> undef, ptr undef, align 64
3430; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <28 x i8> undef, ptr undef, align 64
3431; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i8> undef, ptr undef, align 64
3432; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i8> undef, ptr undef, align 64
3433; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <31 x i8> undef, ptr undef, align 64
3434; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <33 x i8> undef, ptr undef, align 64
3435; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <34 x i8> undef, ptr undef, align 64
3436; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <35 x i8> undef, ptr undef, align 64
3437; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <36 x i8> undef, ptr undef, align 64
3438; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <37 x i8> undef, ptr undef, align 64
3439; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <38 x i8> undef, ptr undef, align 64
3440; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <39 x i8> undef, ptr undef, align 64
3441; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <40 x i8> undef, ptr undef, align 64
3442; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <41 x i8> undef, ptr undef, align 64
3443; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <42 x i8> undef, ptr undef, align 64
3444; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <43 x i8> undef, ptr undef, align 64
3445; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <44 x i8> undef, ptr undef, align 64
3446; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <45 x i8> undef, ptr undef, align 64
3447; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <46 x i8> undef, ptr undef, align 64
3448; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <47 x i8> undef, ptr undef, align 64
3449; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: store <48 x i8> undef, ptr undef, align 64
3450; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <49 x i8> undef, ptr undef, align 64
3451; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <50 x i8> undef, ptr undef, align 64
3452; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <51 x i8> undef, ptr undef, align 64
3453; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: store <52 x i8> undef, ptr undef, align 64
3454; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <53 x i8> undef, ptr undef, align 64
3455; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: store <54 x i8> undef, ptr undef, align 64
3456; AVX512-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: store <55 x i8> undef, ptr undef, align 64
3457; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <56 x i8> undef, ptr undef, align 64
3458; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <57 x i8> undef, ptr undef, align 64
3459; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <58 x i8> undef, ptr undef, align 64
3460; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: store <59 x i8> undef, ptr undef, align 64
3461; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <60 x i8> undef, ptr undef, align 64
3462; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <61 x i8> undef, ptr undef, align 64
3463; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <62 x i8> undef, ptr undef, align 64
3464; AVX512-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: store <63 x i8> undef, ptr undef, align 64
3465; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <3 x i1> undef, ptr undef, align 64
3466; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <5 x i1> undef, ptr undef, align 64
3467; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <6 x i1> undef, ptr undef, align 64
3468; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: store <7 x i1> undef, ptr undef, align 64
3469; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <9 x i1> undef, ptr undef, align 64
3470; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <10 x i1> undef, ptr undef, align 64
3471; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <11 x i1> undef, ptr undef, align 64
3472; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <12 x i1> undef, ptr undef, align 64
3473; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <13 x i1> undef, ptr undef, align 64
3474; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <14 x i1> undef, ptr undef, align 64
3475; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <15 x i1> undef, ptr undef, align 64
3476; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <17 x i1> undef, ptr undef, align 64
3477; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <18 x i1> undef, ptr undef, align 64
3478; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <19 x i1> undef, ptr undef, align 64
3479; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <20 x i1> undef, ptr undef, align 64
3480; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <21 x i1> undef, ptr undef, align 64
3481; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <22 x i1> undef, ptr undef, align 64
3482; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <23 x i1> undef, ptr undef, align 64
3483; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: store <24 x i1> undef, ptr undef, align 64
3484; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <25 x i1> undef, ptr undef, align 64
3485; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <26 x i1> undef, ptr undef, align 64
3486; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <27 x i1> undef, ptr undef, align 64
3487; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <28 x i1> undef, ptr undef, align 64
3488; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <29 x i1> undef, ptr undef, align 64
3489; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <30 x i1> undef, ptr undef, align 64
3490; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: store <31 x i1> undef, ptr undef, align 64
3491; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <33 x i1> undef, ptr undef, align 64
3492; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <34 x i1> undef, ptr undef, align 64
3493; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <35 x i1> undef, ptr undef, align 64
3494; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <36 x i1> undef, ptr undef, align 64
3495; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <37 x i1> undef, ptr undef, align 64
3496; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <38 x i1> undef, ptr undef, align 64
3497; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <39 x i1> undef, ptr undef, align 64
3498; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <40 x i1> undef, ptr undef, align 64
3499; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <41 x i1> undef, ptr undef, align 64
3500; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <42 x i1> undef, ptr undef, align 64
3501; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <43 x i1> undef, ptr undef, align 64
3502; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <44 x i1> undef, ptr undef, align 64
3503; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <45 x i1> undef, ptr undef, align 64
3504; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <46 x i1> undef, ptr undef, align 64
3505; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <47 x i1> undef, ptr undef, align 64
3506; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: store <48 x i1> undef, ptr undef, align 64
3507; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <49 x i1> undef, ptr undef, align 64
3508; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <50 x i1> undef, ptr undef, align 64
3509; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <51 x i1> undef, ptr undef, align 64
3510; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <52 x i1> undef, ptr undef, align 64
3511; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <53 x i1> undef, ptr undef, align 64
3512; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <54 x i1> undef, ptr undef, align 64
3513; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <55 x i1> undef, ptr undef, align 64
3514; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: store <56 x i1> undef, ptr undef, align 64
3515; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <57 x i1> undef, ptr undef, align 64
3516; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <58 x i1> undef, ptr undef, align 64
3517; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <59 x i1> undef, ptr undef, align 64
3518; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <60 x i1> undef, ptr undef, align 64
3519; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <61 x i1> undef, ptr undef, align 64
3520; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <62 x i1> undef, ptr undef, align 64
3521; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: store <63 x i1> undef, ptr undef, align 64
3522; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
3523;
3524  store <1 x i64> undef, ptr undef, align 64
3525  ; <2 x i64> is XMM
3526  store <3 x i64> undef, ptr undef, align 64
3527  ; <4 x i64> is YMM
3528  store <5 x i64> undef, ptr undef, align 64
3529  store <6 x i64> undef, ptr undef, align 64
3530  store <7 x i64> undef, ptr undef, align 64
3531  ; <8 x i64> is ZMM
3532
3533  ; Partial vectors with double elements
3534  store <1 x double> undef, ptr undef, align 64
3535  ; <2 x double> is XMM
3536  store <3 x double> undef, ptr undef, align 64
3537  ; <4 x double> is YMM
3538  store <5 x double> undef, ptr undef, align 64
3539  store <6 x double> undef, ptr undef, align 64
3540  store <7 x double> undef, ptr undef, align 64
3541  ; <8 x double> is ZMM
3542
3543  ; Partial vectors with i32 elements
3544  store <1 x i32> undef, ptr undef, align 64
3545  store <2 x i32> undef, ptr undef, align 64
3546  store <3 x i32> undef, ptr undef, align 64
3547  ; <4 x i32> is XMM
3548  store <5 x i32> undef, ptr undef, align 64
3549  store <6 x i32> undef, ptr undef, align 64
3550  store <7 x i32> undef, ptr undef, align 64
3551  ; <8 x i32> is YMM
3552  store <9 x i32> undef, ptr undef, align 64
3553  store <10 x i32> undef, ptr undef, align 64
3554  store <11 x i32> undef, ptr undef, align 64
3555  store <12 x i32> undef, ptr undef, align 64
3556  store <13 x i32> undef, ptr undef, align 64
3557  store <14 x i32> undef, ptr undef, align 64
3558  store <15 x i32> undef, ptr undef, align 64
3559  ; <16 x i32> is ZMM
3560
3561  ; Partial vectors with float elements
3562  store <1 x float> undef, ptr undef, align 64
3563  store <2 x float> undef, ptr undef, align 64
3564  store <3 x float> undef, ptr undef, align 64
3565  ; <4 x float> is XMM
3566  store <5 x float> undef, ptr undef, align 64
3567  store <6 x float> undef, ptr undef, align 64
3568  store <7 x float> undef, ptr undef, align 64
3569  ; <8 x float> is YMM
3570  store <9 x float> undef, ptr undef, align 64
3571  store <10 x float> undef, ptr undef, align 64
3572  store <11 x float> undef, ptr undef, align 64
3573  store <12 x float> undef, ptr undef, align 64
3574  store <13 x float> undef, ptr undef, align 64
3575  store <14 x float> undef, ptr undef, align 64
3576  store <15 x float> undef, ptr undef, align 64
3577  ; <16 x float> is ZMM
3578
3579  ; Partial vectors with i16 elements
3580  store <1 x i16> undef, ptr undef, align 64
3581  store <2 x i16> undef, ptr undef, align 64
3582  store <3 x i16> undef, ptr undef, align 64
3583  store <4 x i16> undef, ptr undef, align 64
3584  store <5 x i16> undef, ptr undef, align 64
3585  store <6 x i16> undef, ptr undef, align 64
3586  store <7 x i16> undef, ptr undef, align 64
3587  ; <8 x i16> is XMM
3588  store <9 x i16> undef, ptr undef, align 64
3589  store <10 x i16> undef, ptr undef, align 64
3590  store <11 x i16> undef, ptr undef, align 64
3591  store <12 x i16> undef, ptr undef, align 64
3592  store <13 x i16> undef, ptr undef, align 64
3593  store <14 x i16> undef, ptr undef, align 64
3594  store <15 x i16> undef, ptr undef, align 64
3595  ; <16 x i16> is YMM
3596  store <17 x i16> undef, ptr undef, align 64
3597  store <18 x i16> undef, ptr undef, align 64
3598  store <19 x i16> undef, ptr undef, align 64
3599  store <20 x i16> undef, ptr undef, align 64
3600  store <21 x i16> undef, ptr undef, align 64
3601  store <22 x i16> undef, ptr undef, align 64
3602  store <23 x i16> undef, ptr undef, align 64
3603  store <24 x i16> undef, ptr undef, align 64
3604  store <25 x i16> undef, ptr undef, align 64
3605  store <26 x i16> undef, ptr undef, align 64
3606  store <27 x i16> undef, ptr undef, align 64
3607  store <28 x i16> undef, ptr undef, align 64
3608  store <29 x i16> undef, ptr undef, align 64
3609  store <30 x i16> undef, ptr undef, align 64
3610  store <31 x i16> undef, ptr undef, align 64
3611  ; <32 x i16> is ZMM
3612
3613  ; Partial vectors with i8 elements
3614  store <1 x i8> undef, ptr undef, align 64
3615  store <2 x i8> undef, ptr undef, align 64
3616  store <3 x i8> undef, ptr undef, align 64
3617  store <4 x i8> undef, ptr undef, align 64
3618  store <5 x i8> undef, ptr undef, align 64
3619  store <6 x i8> undef, ptr undef, align 64
3620  store <7 x i8> undef, ptr undef, align 64
3621  store <8 x i8> undef, ptr undef, align 64
3622  store <9 x i8> undef, ptr undef, align 64
3623  store <10 x i8> undef, ptr undef, align 64
3624  store <11 x i8> undef, ptr undef, align 64
3625  store <12 x i8> undef, ptr undef, align 64
3626  store <13 x i8> undef, ptr undef, align 64
3627  store <14 x i8> undef, ptr undef, align 64
3628  store <15 x i8> undef, ptr undef, align 64
3629  ; <16 x i8> is XMM
3630  store <17 x i8> undef, ptr undef, align 64
3631  store <18 x i8> undef, ptr undef, align 64
3632  store <19 x i8> undef, ptr undef, align 64
3633  store <20 x i8> undef, ptr undef, align 64
3634  store <21 x i8> undef, ptr undef, align 64
3635  store <22 x i8> undef, ptr undef, align 64
3636  store <23 x i8> undef, ptr undef, align 64
3637  store <24 x i8> undef, ptr undef, align 64
3638  store <25 x i8> undef, ptr undef, align 64
3639  store <26 x i8> undef, ptr undef, align 64
3640  store <27 x i8> undef, ptr undef, align 64
3641  store <28 x i8> undef, ptr undef, align 64
3642  store <29 x i8> undef, ptr undef, align 64
3643  store <30 x i8> undef, ptr undef, align 64
3644  store <31 x i8> undef, ptr undef, align 64
3645  ; <32 x i8> is YMM
3646  store <33 x i8> undef, ptr undef, align 64
3647  store <34 x i8> undef, ptr undef, align 64
3648  store <35 x i8> undef, ptr undef, align 64
3649  store <36 x i8> undef, ptr undef, align 64
3650  store <37 x i8> undef, ptr undef, align 64
3651  store <38 x i8> undef, ptr undef, align 64
3652  store <39 x i8> undef, ptr undef, align 64
3653  store <40 x i8> undef, ptr undef, align 64
3654  store <41 x i8> undef, ptr undef, align 64
3655  store <42 x i8> undef, ptr undef, align 64
3656  store <43 x i8> undef, ptr undef, align 64
3657  store <44 x i8> undef, ptr undef, align 64
3658  store <45 x i8> undef, ptr undef, align 64
3659  store <46 x i8> undef, ptr undef, align 64
3660  store <47 x i8> undef, ptr undef, align 64
3661  store <48 x i8> undef, ptr undef, align 64
3662  store <49 x i8> undef, ptr undef, align 64
3663  store <50 x i8> undef, ptr undef, align 64
3664  store <51 x i8> undef, ptr undef, align 64
3665  store <52 x i8> undef, ptr undef, align 64
3666  store <53 x i8> undef, ptr undef, align 64
3667  store <54 x i8> undef, ptr undef, align 64
3668  store <55 x i8> undef, ptr undef, align 64
3669  store <56 x i8> undef, ptr undef, align 64
3670  store <57 x i8> undef, ptr undef, align 64
3671  store <58 x i8> undef, ptr undef, align 64
3672  store <59 x i8> undef, ptr undef, align 64
3673  store <60 x i8> undef, ptr undef, align 64
3674  store <61 x i8> undef, ptr undef, align 64
3675  store <62 x i8> undef, ptr undef, align 64
3676  store <63 x i8> undef, ptr undef, align 64
3677  ; <64 x i8> is ZMM
3678
3679  ; Partial vectors with i1 elements
3680  ; <1 x i1> is XMM
3681  ; <2 x i1> is XMM
3682  store <3 x i1> undef, ptr undef, align 64
3683  ; <4 x i1> is XMM
3684  store <5 x i1> undef, ptr undef, align 64
3685  store <6 x i1> undef, ptr undef, align 64
3686  store <7 x i1> undef, ptr undef, align 64
3687  ; <8 x i1> is XMM
3688  store <9 x i1> undef, ptr undef, align 64
3689  store <10 x i1> undef, ptr undef, align 64
3690  store <11 x i1> undef, ptr undef, align 64
3691  store <12 x i1> undef, ptr undef, align 64
3692  store <13 x i1> undef, ptr undef, align 64
3693  store <14 x i1> undef, ptr undef, align 64
3694  store <15 x i1> undef, ptr undef, align 64
3695  ; <16 x i1> is XMM
3696  store <17 x i1> undef, ptr undef, align 64
3697  store <18 x i1> undef, ptr undef, align 64
3698  store <19 x i1> undef, ptr undef, align 64
3699  store <20 x i1> undef, ptr undef, align 64
3700  store <21 x i1> undef, ptr undef, align 64
3701  store <22 x i1> undef, ptr undef, align 64
3702  store <23 x i1> undef, ptr undef, align 64
3703  store <24 x i1> undef, ptr undef, align 64
3704  store <25 x i1> undef, ptr undef, align 64
3705  store <26 x i1> undef, ptr undef, align 64
3706  store <27 x i1> undef, ptr undef, align 64
3707  store <28 x i1> undef, ptr undef, align 64
3708  store <29 x i1> undef, ptr undef, align 64
3709  store <30 x i1> undef, ptr undef, align 64
3710  store <31 x i1> undef, ptr undef, align 64
3711  ; <32 x i1> is YMM
3712  store <33 x i1> undef, ptr undef, align 64
3713  store <34 x i1> undef, ptr undef, align 64
3714  store <35 x i1> undef, ptr undef, align 64
3715  store <36 x i1> undef, ptr undef, align 64
3716  store <37 x i1> undef, ptr undef, align 64
3717  store <38 x i1> undef, ptr undef, align 64
3718  store <39 x i1> undef, ptr undef, align 64
3719  store <40 x i1> undef, ptr undef, align 64
3720  store <41 x i1> undef, ptr undef, align 64
3721  store <42 x i1> undef, ptr undef, align 64
3722  store <43 x i1> undef, ptr undef, align 64
3723  store <44 x i1> undef, ptr undef, align 64
3724  store <45 x i1> undef, ptr undef, align 64
3725  store <46 x i1> undef, ptr undef, align 64
3726  store <47 x i1> undef, ptr undef, align 64
3727  store <48 x i1> undef, ptr undef, align 64
3728  store <49 x i1> undef, ptr undef, align 64
3729  store <50 x i1> undef, ptr undef, align 64
3730  store <51 x i1> undef, ptr undef, align 64
3731  store <52 x i1> undef, ptr undef, align 64
3732  store <53 x i1> undef, ptr undef, align 64
3733  store <54 x i1> undef, ptr undef, align 64
3734  store <55 x i1> undef, ptr undef, align 64
3735  store <56 x i1> undef, ptr undef, align 64
3736  store <57 x i1> undef, ptr undef, align 64
3737  store <58 x i1> undef, ptr undef, align 64
3738  store <59 x i1> undef, ptr undef, align 64
3739  store <60 x i1> undef, ptr undef, align 64
3740  store <61 x i1> undef, ptr undef, align 64
3741  store <62 x i1> undef, ptr undef, align 64
3742  store <63 x i1> undef, ptr undef, align 64
3743  ; <64 x i1> is ZMM
3744
3745  ret i32 undef
3746}
3747
3748define i32 @loads_align4(i32 %arg) {
3749  ; Scalars
3750; SSE2-LABEL: 'loads_align4'
3751; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 4
3752; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 4
3753; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 4
3754; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 4
3755; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 4
3756; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 4
3757; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 4
3758; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 4
3759; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 4
3760; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 4
3761; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 4
3762; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <128 x i1>, ptr undef, align 4
3763; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 4
3764; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 4
3765; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 4
3766; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 4
3767; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 4
3768; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 4
3769; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 4
3770; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 4
3771; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %21 = load <16 x i1>, ptr undef, align 4
3772; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %22 = load <8 x i1>, ptr undef, align 4
3773; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %23 = load <4 x i1>, ptr undef, align 4
3774; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <2 x i1>, ptr undef, align 4
3775; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <1 x i1>, ptr undef, align 4
3776; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %26 = load <256 x i1>, ptr undef, align 4
3777; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <32 x i8>, ptr undef, align 4
3778; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <16 x i16>, ptr undef, align 4
3779; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %29 = load <8 x i32>, ptr undef, align 4
3780; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %30 = load <4 x i64>, ptr undef, align 4
3781; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 4
3782; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 4
3783; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %33 = load <8 x float>, ptr undef, align 4
3784; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %34 = load <4 x double>, ptr undef, align 4
3785; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %35 = load <4 x ptr>, ptr undef, align 4
3786; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 4
3787; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %37 = load <512 x i1>, ptr undef, align 4
3788; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %38 = load <64 x i8>, ptr undef, align 4
3789; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <32 x i16>, ptr undef, align 4
3790; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %40 = load <16 x i32>, ptr undef, align 4
3791; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <8 x i64>, ptr undef, align 4
3792; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 4
3793; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 4
3794; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 4
3795; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <16 x float>, ptr undef, align 4
3796; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %46 = load <8 x double>, ptr undef, align 4
3797; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %47 = load <8 x ptr>, ptr undef, align 4
3798; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 4
3799; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
3800;
3801; SSE41-LABEL: 'loads_align4'
3802; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 4
3803; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 4
3804; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 4
3805; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 4
3806; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 4
3807; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 4
3808; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 4
3809; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 4
3810; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 4
3811; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 4
3812; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 4
3813; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <128 x i1>, ptr undef, align 4
3814; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 4
3815; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 4
3816; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 4
3817; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 4
3818; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 4
3819; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 4
3820; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 4
3821; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 4
3822; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %21 = load <16 x i1>, ptr undef, align 4
3823; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %22 = load <8 x i1>, ptr undef, align 4
3824; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %23 = load <4 x i1>, ptr undef, align 4
3825; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <2 x i1>, ptr undef, align 4
3826; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <1 x i1>, ptr undef, align 4
3827; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %26 = load <256 x i1>, ptr undef, align 4
3828; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <32 x i8>, ptr undef, align 4
3829; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <16 x i16>, ptr undef, align 4
3830; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %29 = load <8 x i32>, ptr undef, align 4
3831; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %30 = load <4 x i64>, ptr undef, align 4
3832; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 4
3833; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 4
3834; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %33 = load <8 x float>, ptr undef, align 4
3835; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %34 = load <4 x double>, ptr undef, align 4
3836; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %35 = load <4 x ptr>, ptr undef, align 4
3837; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 4
3838; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %37 = load <512 x i1>, ptr undef, align 4
3839; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %38 = load <64 x i8>, ptr undef, align 4
3840; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <32 x i16>, ptr undef, align 4
3841; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %40 = load <16 x i32>, ptr undef, align 4
3842; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <8 x i64>, ptr undef, align 4
3843; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 4
3844; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 4
3845; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 4
3846; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <16 x float>, ptr undef, align 4
3847; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %46 = load <8 x double>, ptr undef, align 4
3848; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %47 = load <8 x ptr>, ptr undef, align 4
3849; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 4
3850; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
3851;
3852; AVX-LABEL: 'loads_align4'
3853; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 4
3854; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 4
3855; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 4
3856; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 4
3857; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 4
3858; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 4
3859; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 4
3860; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 4
3861; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 4
3862; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 4
3863; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 4
3864; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <128 x i1>, ptr undef, align 4
3865; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 4
3866; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 4
3867; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 4
3868; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 4
3869; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 4
3870; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 4
3871; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 4
3872; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 4
3873; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %21 = load <16 x i1>, ptr undef, align 4
3874; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %22 = load <8 x i1>, ptr undef, align 4
3875; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %23 = load <4 x i1>, ptr undef, align 4
3876; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <2 x i1>, ptr undef, align 4
3877; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <1 x i1>, ptr undef, align 4
3878; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %26 = load <256 x i1>, ptr undef, align 4
3879; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %27 = load <32 x i8>, ptr undef, align 4
3880; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %28 = load <16 x i16>, ptr undef, align 4
3881; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %29 = load <8 x i32>, ptr undef, align 4
3882; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %30 = load <4 x i64>, ptr undef, align 4
3883; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 4
3884; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 4
3885; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %33 = load <8 x float>, ptr undef, align 4
3886; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %34 = load <4 x double>, ptr undef, align 4
3887; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %35 = load <4 x ptr>, ptr undef, align 4
3888; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 4
3889; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %37 = load <512 x i1>, ptr undef, align 4
3890; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %38 = load <64 x i8>, ptr undef, align 4
3891; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %39 = load <32 x i16>, ptr undef, align 4
3892; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %40 = load <16 x i32>, ptr undef, align 4
3893; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %41 = load <8 x i64>, ptr undef, align 4
3894; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 4
3895; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 4
3896; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 4
3897; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %45 = load <16 x float>, ptr undef, align 4
3898; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %46 = load <8 x double>, ptr undef, align 4
3899; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %47 = load <8 x ptr>, ptr undef, align 4
3900; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 4
3901; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
3902;
3903; AVX512-LABEL: 'loads_align4'
3904; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 4
3905; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 4
3906; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 4
3907; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 4
3908; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 4
3909; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 4
3910; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 4
3911; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 4
3912; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 4
3913; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 4
3914; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 4
3915; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %12 = load <128 x i1>, ptr undef, align 4
3916; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 4
3917; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 4
3918; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 4
3919; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 4
3920; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 4
3921; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 4
3922; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 4
3923; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 4
3924; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %21 = load <16 x i1>, ptr undef, align 4
3925; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %22 = load <8 x i1>, ptr undef, align 4
3926; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %23 = load <4 x i1>, ptr undef, align 4
3927; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %24 = load <2 x i1>, ptr undef, align 4
3928; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %25 = load <1 x i1>, ptr undef, align 4
3929; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %26 = load <256 x i1>, ptr undef, align 4
3930; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %27 = load <32 x i8>, ptr undef, align 4
3931; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %28 = load <16 x i16>, ptr undef, align 4
3932; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %29 = load <8 x i32>, ptr undef, align 4
3933; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %30 = load <4 x i64>, ptr undef, align 4
3934; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 4
3935; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 4
3936; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %33 = load <8 x float>, ptr undef, align 4
3937; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %34 = load <4 x double>, ptr undef, align 4
3938; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %35 = load <4 x ptr>, ptr undef, align 4
3939; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 4
3940; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %37 = load <512 x i1>, ptr undef, align 4
3941; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <64 x i8>, ptr undef, align 4
3942; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %39 = load <32 x i16>, ptr undef, align 4
3943; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <16 x i32>, ptr undef, align 4
3944; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %41 = load <8 x i64>, ptr undef, align 4
3945; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 4
3946; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 4
3947; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 4
3948; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %45 = load <16 x float>, ptr undef, align 4
3949; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %46 = load <8 x double>, ptr undef, align 4
3950; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %47 = load <8 x ptr>, ptr undef, align 4
3951; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 4
3952; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
3953;
3954  load i8, ptr undef, align 4
3955  load i16, ptr undef, align 4
3956  load i32, ptr undef, align 4
3957  load i64, ptr undef, align 4
3958  load i128, ptr undef, align 4
3959  load i256, ptr undef, align 4
3960  load i512, ptr undef, align 4
3961
3962  load float, ptr undef, align 4
3963  load double, ptr undef, align 4
3964
3965  load ptr, ptr undef, align 4
3966
3967  load ptr, ptr undef, align 4
3968
3969  ; XMM (128-bit) vectors
3970  load <128 x i1>, ptr undef, align 4
3971  load <16 x i8>, ptr undef, align 4
3972  load <8 x i16>, ptr undef, align 4
3973  load <4 x i32>, ptr undef, align 4
3974  load <2 x i64>, ptr undef, align 4
3975  load <1 x i128>, ptr undef, align 4
3976
3977  load <4 x float>, ptr undef, align 4
3978  load <2 x double>, ptr undef, align 4
3979
3980  load <2 x ptr>, ptr undef, align 4
3981
3982  load <16 x i1>, ptr undef, align 4
3983  load <8 x i1>, ptr undef, align 4
3984  load <4 x i1>, ptr undef, align 4
3985  load <2 x i1>, ptr undef, align 4
3986  load <1 x i1>, ptr undef, align 4
3987
3988  ; YMM (256-bit) vectors
3989  load <256 x i1>, ptr undef, align 4
3990  load <32 x i8>, ptr undef, align 4
3991  load <16 x i16>, ptr undef, align 4
3992  load <8 x i32>, ptr undef, align 4
3993  load <4 x i64>, ptr undef, align 4
3994  load <2 x i128>, ptr undef, align 4
3995  load <1 x i256>, ptr undef, align 4
3996
3997  load <8 x float>, ptr undef, align 4
3998  load <4 x double>, ptr undef, align 4
3999
4000  load <4 x ptr>, ptr undef, align 4
4001
4002  load <32 x i1>, ptr undef, align 4
4003
4004  ; ZMM (512-bit) vectors
4005  load <512 x i1>, ptr undef, align 4
4006  load <64 x i8>, ptr undef, align 4
4007  load <32 x i16>, ptr undef, align 4
4008  load <16 x i32>, ptr undef, align 4
4009  load <8 x i64>, ptr undef, align 4
4010  load <4 x i128>, ptr undef, align 4
4011  load <2 x i256>, ptr undef, align 4
4012  load <1 x i512>, ptr undef, align 4
4013
4014  load <16 x float>, ptr undef, align 4
4015  load <8 x double>, ptr undef, align 4
4016
4017  load <8 x ptr>, ptr undef, align 4
4018
4019  load <64 x i1>, ptr undef, align 4
4020
4021  ret i32 undef
4022}
4023
4024define i32 @loads_partial_align4(i32 %arg) {
4025  ; Partial vectors with i64 elements (doubles as pointer-sized tests))
4026; SSE2-LABEL: 'loads_partial_align4'
4027; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 4
4028; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %2 = load <3 x i64>, ptr undef, align 4
4029; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %3 = load <5 x i64>, ptr undef, align 4
4030; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %4 = load <6 x i64>, ptr undef, align 4
4031; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %5 = load <7 x i64>, ptr undef, align 4
4032; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 4
4033; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %7 = load <3 x double>, ptr undef, align 4
4034; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %8 = load <5 x double>, ptr undef, align 4
4035; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %9 = load <6 x double>, ptr undef, align 4
4036; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %10 = load <7 x double>, ptr undef, align 4
4037; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 4
4038; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 4
4039; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %13 = load <3 x i32>, ptr undef, align 4
4040; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %14 = load <5 x i32>, ptr undef, align 4
4041; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %15 = load <6 x i32>, ptr undef, align 4
4042; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %16 = load <7 x i32>, ptr undef, align 4
4043; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %17 = load <9 x i32>, ptr undef, align 4
4044; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %18 = load <10 x i32>, ptr undef, align 4
4045; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %19 = load <11 x i32>, ptr undef, align 4
4046; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %20 = load <12 x i32>, ptr undef, align 4
4047; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %21 = load <13 x i32>, ptr undef, align 4
4048; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %22 = load <14 x i32>, ptr undef, align 4
4049; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %23 = load <15 x i32>, ptr undef, align 4
4050; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 4
4051; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 4
4052; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %26 = load <3 x float>, ptr undef, align 4
4053; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <5 x float>, ptr undef, align 4
4054; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <6 x float>, ptr undef, align 4
4055; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %29 = load <7 x float>, ptr undef, align 4
4056; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %30 = load <9 x float>, ptr undef, align 4
4057; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %31 = load <10 x float>, ptr undef, align 4
4058; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %32 = load <11 x float>, ptr undef, align 4
4059; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %33 = load <12 x float>, ptr undef, align 4
4060; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %34 = load <13 x float>, ptr undef, align 4
4061; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %35 = load <14 x float>, ptr undef, align 4
4062; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %36 = load <15 x float>, ptr undef, align 4
4063; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 4
4064; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 4
4065; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %39 = load <3 x i16>, ptr undef, align 4
4066; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 4
4067; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %41 = load <5 x i16>, ptr undef, align 4
4068; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %42 = load <6 x i16>, ptr undef, align 4
4069; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %43 = load <7 x i16>, ptr undef, align 4
4070; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %44 = load <9 x i16>, ptr undef, align 4
4071; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %45 = load <10 x i16>, ptr undef, align 4
4072; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %46 = load <11 x i16>, ptr undef, align 4
4073; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %47 = load <12 x i16>, ptr undef, align 4
4074; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %48 = load <13 x i16>, ptr undef, align 4
4075; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %49 = load <14 x i16>, ptr undef, align 4
4076; SSE2-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: %50 = load <15 x i16>, ptr undef, align 4
4077; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %51 = load <17 x i16>, ptr undef, align 4
4078; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %52 = load <18 x i16>, ptr undef, align 4
4079; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %53 = load <19 x i16>, ptr undef, align 4
4080; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %54 = load <20 x i16>, ptr undef, align 4
4081; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %55 = load <21 x i16>, ptr undef, align 4
4082; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %56 = load <22 x i16>, ptr undef, align 4
4083; SSE2-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: %57 = load <23 x i16>, ptr undef, align 4
4084; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %58 = load <24 x i16>, ptr undef, align 4
4085; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %59 = load <25 x i16>, ptr undef, align 4
4086; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %60 = load <26 x i16>, ptr undef, align 4
4087; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %61 = load <27 x i16>, ptr undef, align 4
4088; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %62 = load <28 x i16>, ptr undef, align 4
4089; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %63 = load <29 x i16>, ptr undef, align 4
4090; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %64 = load <30 x i16>, ptr undef, align 4
4091; SSE2-NEXT:  Cost Model: Found an estimated cost of 14 for instruction: %65 = load <31 x i16>, ptr undef, align 4
4092; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 4
4093; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %67 = load <2 x i8>, ptr undef, align 4
4094; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %68 = load <3 x i8>, ptr undef, align 4
4095; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 4
4096; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %70 = load <5 x i8>, ptr undef, align 4
4097; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %71 = load <6 x i8>, ptr undef, align 4
4098; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %72 = load <7 x i8>, ptr undef, align 4
4099; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 4
4100; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %74 = load <9 x i8>, ptr undef, align 4
4101; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %75 = load <10 x i8>, ptr undef, align 4
4102; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %76 = load <11 x i8>, ptr undef, align 4
4103; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %77 = load <12 x i8>, ptr undef, align 4
4104; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %78 = load <13 x i8>, ptr undef, align 4
4105; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %79 = load <14 x i8>, ptr undef, align 4
4106; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %80 = load <15 x i8>, ptr undef, align 4
4107; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %81 = load <17 x i8>, ptr undef, align 4
4108; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %82 = load <18 x i8>, ptr undef, align 4
4109; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %83 = load <19 x i8>, ptr undef, align 4
4110; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %84 = load <20 x i8>, ptr undef, align 4
4111; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %85 = load <21 x i8>, ptr undef, align 4
4112; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %86 = load <22 x i8>, ptr undef, align 4
4113; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %87 = load <23 x i8>, ptr undef, align 4
4114; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %88 = load <24 x i8>, ptr undef, align 4
4115; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %89 = load <25 x i8>, ptr undef, align 4
4116; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %90 = load <26 x i8>, ptr undef, align 4
4117; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %91 = load <27 x i8>, ptr undef, align 4
4118; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %92 = load <28 x i8>, ptr undef, align 4
4119; SSE2-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: %93 = load <29 x i8>, ptr undef, align 4
4120; SSE2-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: %94 = load <30 x i8>, ptr undef, align 4
4121; SSE2-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: %95 = load <31 x i8>, ptr undef, align 4
4122; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %96 = load <33 x i8>, ptr undef, align 4
4123; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %97 = load <34 x i8>, ptr undef, align 4
4124; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %98 = load <35 x i8>, ptr undef, align 4
4125; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %99 = load <36 x i8>, ptr undef, align 4
4126; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %100 = load <37 x i8>, ptr undef, align 4
4127; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %101 = load <38 x i8>, ptr undef, align 4
4128; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %102 = load <39 x i8>, ptr undef, align 4
4129; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %103 = load <40 x i8>, ptr undef, align 4
4130; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %104 = load <41 x i8>, ptr undef, align 4
4131; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %105 = load <42 x i8>, ptr undef, align 4
4132; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %106 = load <43 x i8>, ptr undef, align 4
4133; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %107 = load <44 x i8>, ptr undef, align 4
4134; SSE2-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: %108 = load <45 x i8>, ptr undef, align 4
4135; SSE2-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: %109 = load <46 x i8>, ptr undef, align 4
4136; SSE2-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: %110 = load <47 x i8>, ptr undef, align 4
4137; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %111 = load <48 x i8>, ptr undef, align 4
4138; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %112 = load <49 x i8>, ptr undef, align 4
4139; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %113 = load <50 x i8>, ptr undef, align 4
4140; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %114 = load <51 x i8>, ptr undef, align 4
4141; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %115 = load <52 x i8>, ptr undef, align 4
4142; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %116 = load <53 x i8>, ptr undef, align 4
4143; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %117 = load <54 x i8>, ptr undef, align 4
4144; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %118 = load <55 x i8>, ptr undef, align 4
4145; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %119 = load <56 x i8>, ptr undef, align 4
4146; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %120 = load <57 x i8>, ptr undef, align 4
4147; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %121 = load <58 x i8>, ptr undef, align 4
4148; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %122 = load <59 x i8>, ptr undef, align 4
4149; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %123 = load <60 x i8>, ptr undef, align 4
4150; SSE2-NEXT:  Cost Model: Found an estimated cost of 14 for instruction: %124 = load <61 x i8>, ptr undef, align 4
4151; SSE2-NEXT:  Cost Model: Found an estimated cost of 14 for instruction: %125 = load <62 x i8>, ptr undef, align 4
4152; SSE2-NEXT:  Cost Model: Found an estimated cost of 14 for instruction: %126 = load <63 x i8>, ptr undef, align 4
4153; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %127 = load <3 x i1>, ptr undef, align 4
4154; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %128 = load <5 x i1>, ptr undef, align 4
4155; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %129 = load <6 x i1>, ptr undef, align 4
4156; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %130 = load <7 x i1>, ptr undef, align 4
4157; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %131 = load <9 x i1>, ptr undef, align 4
4158; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %132 = load <10 x i1>, ptr undef, align 4
4159; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %133 = load <11 x i1>, ptr undef, align 4
4160; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %134 = load <12 x i1>, ptr undef, align 4
4161; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %135 = load <13 x i1>, ptr undef, align 4
4162; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %136 = load <14 x i1>, ptr undef, align 4
4163; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %137 = load <15 x i1>, ptr undef, align 4
4164; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %138 = load <17 x i1>, ptr undef, align 4
4165; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %139 = load <18 x i1>, ptr undef, align 4
4166; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %140 = load <19 x i1>, ptr undef, align 4
4167; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %141 = load <20 x i1>, ptr undef, align 4
4168; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %142 = load <21 x i1>, ptr undef, align 4
4169; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %143 = load <22 x i1>, ptr undef, align 4
4170; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %144 = load <23 x i1>, ptr undef, align 4
4171; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %145 = load <24 x i1>, ptr undef, align 4
4172; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %146 = load <25 x i1>, ptr undef, align 4
4173; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %147 = load <26 x i1>, ptr undef, align 4
4174; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %148 = load <27 x i1>, ptr undef, align 4
4175; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %149 = load <28 x i1>, ptr undef, align 4
4176; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %150 = load <29 x i1>, ptr undef, align 4
4177; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %151 = load <30 x i1>, ptr undef, align 4
4178; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %152 = load <31 x i1>, ptr undef, align 4
4179; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %153 = load <33 x i1>, ptr undef, align 4
4180; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %154 = load <34 x i1>, ptr undef, align 4
4181; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %155 = load <35 x i1>, ptr undef, align 4
4182; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %156 = load <36 x i1>, ptr undef, align 4
4183; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %157 = load <37 x i1>, ptr undef, align 4
4184; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %158 = load <38 x i1>, ptr undef, align 4
4185; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %159 = load <39 x i1>, ptr undef, align 4
4186; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %160 = load <40 x i1>, ptr undef, align 4
4187; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %161 = load <41 x i1>, ptr undef, align 4
4188; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %162 = load <42 x i1>, ptr undef, align 4
4189; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %163 = load <43 x i1>, ptr undef, align 4
4190; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %164 = load <44 x i1>, ptr undef, align 4
4191; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %165 = load <45 x i1>, ptr undef, align 4
4192; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %166 = load <46 x i1>, ptr undef, align 4
4193; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %167 = load <47 x i1>, ptr undef, align 4
4194; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %168 = load <48 x i1>, ptr undef, align 4
4195; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %169 = load <49 x i1>, ptr undef, align 4
4196; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %170 = load <50 x i1>, ptr undef, align 4
4197; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %171 = load <51 x i1>, ptr undef, align 4
4198; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %172 = load <52 x i1>, ptr undef, align 4
4199; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %173 = load <53 x i1>, ptr undef, align 4
4200; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %174 = load <54 x i1>, ptr undef, align 4
4201; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %175 = load <55 x i1>, ptr undef, align 4
4202; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %176 = load <56 x i1>, ptr undef, align 4
4203; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %177 = load <57 x i1>, ptr undef, align 4
4204; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %178 = load <58 x i1>, ptr undef, align 4
4205; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %179 = load <59 x i1>, ptr undef, align 4
4206; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %180 = load <60 x i1>, ptr undef, align 4
4207; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %181 = load <61 x i1>, ptr undef, align 4
4208; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %182 = load <62 x i1>, ptr undef, align 4
4209; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %183 = load <63 x i1>, ptr undef, align 4
4210; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
4211;
4212; SSE41-LABEL: 'loads_partial_align4'
4213; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 4
4214; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %2 = load <3 x i64>, ptr undef, align 4
4215; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %3 = load <5 x i64>, ptr undef, align 4
4216; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %4 = load <6 x i64>, ptr undef, align 4
4217; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %5 = load <7 x i64>, ptr undef, align 4
4218; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 4
4219; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %7 = load <3 x double>, ptr undef, align 4
4220; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %8 = load <5 x double>, ptr undef, align 4
4221; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %9 = load <6 x double>, ptr undef, align 4
4222; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %10 = load <7 x double>, ptr undef, align 4
4223; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 4
4224; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 4
4225; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %13 = load <3 x i32>, ptr undef, align 4
4226; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %14 = load <5 x i32>, ptr undef, align 4
4227; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %15 = load <6 x i32>, ptr undef, align 4
4228; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %16 = load <7 x i32>, ptr undef, align 4
4229; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %17 = load <9 x i32>, ptr undef, align 4
4230; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %18 = load <10 x i32>, ptr undef, align 4
4231; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %19 = load <11 x i32>, ptr undef, align 4
4232; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %20 = load <12 x i32>, ptr undef, align 4
4233; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %21 = load <13 x i32>, ptr undef, align 4
4234; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %22 = load <14 x i32>, ptr undef, align 4
4235; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %23 = load <15 x i32>, ptr undef, align 4
4236; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 4
4237; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 4
4238; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %26 = load <3 x float>, ptr undef, align 4
4239; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <5 x float>, ptr undef, align 4
4240; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <6 x float>, ptr undef, align 4
4241; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %29 = load <7 x float>, ptr undef, align 4
4242; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %30 = load <9 x float>, ptr undef, align 4
4243; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %31 = load <10 x float>, ptr undef, align 4
4244; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %32 = load <11 x float>, ptr undef, align 4
4245; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %33 = load <12 x float>, ptr undef, align 4
4246; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %34 = load <13 x float>, ptr undef, align 4
4247; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %35 = load <14 x float>, ptr undef, align 4
4248; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %36 = load <15 x float>, ptr undef, align 4
4249; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 4
4250; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 4
4251; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %39 = load <3 x i16>, ptr undef, align 4
4252; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 4
4253; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %41 = load <5 x i16>, ptr undef, align 4
4254; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %42 = load <6 x i16>, ptr undef, align 4
4255; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %43 = load <7 x i16>, ptr undef, align 4
4256; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %44 = load <9 x i16>, ptr undef, align 4
4257; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %45 = load <10 x i16>, ptr undef, align 4
4258; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %46 = load <11 x i16>, ptr undef, align 4
4259; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %47 = load <12 x i16>, ptr undef, align 4
4260; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %48 = load <13 x i16>, ptr undef, align 4
4261; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %49 = load <14 x i16>, ptr undef, align 4
4262; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %50 = load <15 x i16>, ptr undef, align 4
4263; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %51 = load <17 x i16>, ptr undef, align 4
4264; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %52 = load <18 x i16>, ptr undef, align 4
4265; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %53 = load <19 x i16>, ptr undef, align 4
4266; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %54 = load <20 x i16>, ptr undef, align 4
4267; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %55 = load <21 x i16>, ptr undef, align 4
4268; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %56 = load <22 x i16>, ptr undef, align 4
4269; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %57 = load <23 x i16>, ptr undef, align 4
4270; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %58 = load <24 x i16>, ptr undef, align 4
4271; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %59 = load <25 x i16>, ptr undef, align 4
4272; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %60 = load <26 x i16>, ptr undef, align 4
4273; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %61 = load <27 x i16>, ptr undef, align 4
4274; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %62 = load <28 x i16>, ptr undef, align 4
4275; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %63 = load <29 x i16>, ptr undef, align 4
4276; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %64 = load <30 x i16>, ptr undef, align 4
4277; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %65 = load <31 x i16>, ptr undef, align 4
4278; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 4
4279; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %67 = load <2 x i8>, ptr undef, align 4
4280; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %68 = load <3 x i8>, ptr undef, align 4
4281; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 4
4282; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %70 = load <5 x i8>, ptr undef, align 4
4283; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %71 = load <6 x i8>, ptr undef, align 4
4284; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %72 = load <7 x i8>, ptr undef, align 4
4285; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 4
4286; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %74 = load <9 x i8>, ptr undef, align 4
4287; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %75 = load <10 x i8>, ptr undef, align 4
4288; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %76 = load <11 x i8>, ptr undef, align 4
4289; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %77 = load <12 x i8>, ptr undef, align 4
4290; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %78 = load <13 x i8>, ptr undef, align 4
4291; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %79 = load <14 x i8>, ptr undef, align 4
4292; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %80 = load <15 x i8>, ptr undef, align 4
4293; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %81 = load <17 x i8>, ptr undef, align 4
4294; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %82 = load <18 x i8>, ptr undef, align 4
4295; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %83 = load <19 x i8>, ptr undef, align 4
4296; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %84 = load <20 x i8>, ptr undef, align 4
4297; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %85 = load <21 x i8>, ptr undef, align 4
4298; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %86 = load <22 x i8>, ptr undef, align 4
4299; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %87 = load <23 x i8>, ptr undef, align 4
4300; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %88 = load <24 x i8>, ptr undef, align 4
4301; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %89 = load <25 x i8>, ptr undef, align 4
4302; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %90 = load <26 x i8>, ptr undef, align 4
4303; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %91 = load <27 x i8>, ptr undef, align 4
4304; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %92 = load <28 x i8>, ptr undef, align 4
4305; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %93 = load <29 x i8>, ptr undef, align 4
4306; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %94 = load <30 x i8>, ptr undef, align 4
4307; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %95 = load <31 x i8>, ptr undef, align 4
4308; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %96 = load <33 x i8>, ptr undef, align 4
4309; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %97 = load <34 x i8>, ptr undef, align 4
4310; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %98 = load <35 x i8>, ptr undef, align 4
4311; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %99 = load <36 x i8>, ptr undef, align 4
4312; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %100 = load <37 x i8>, ptr undef, align 4
4313; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %101 = load <38 x i8>, ptr undef, align 4
4314; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %102 = load <39 x i8>, ptr undef, align 4
4315; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %103 = load <40 x i8>, ptr undef, align 4
4316; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %104 = load <41 x i8>, ptr undef, align 4
4317; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %105 = load <42 x i8>, ptr undef, align 4
4318; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %106 = load <43 x i8>, ptr undef, align 4
4319; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %107 = load <44 x i8>, ptr undef, align 4
4320; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %108 = load <45 x i8>, ptr undef, align 4
4321; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %109 = load <46 x i8>, ptr undef, align 4
4322; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %110 = load <47 x i8>, ptr undef, align 4
4323; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %111 = load <48 x i8>, ptr undef, align 4
4324; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %112 = load <49 x i8>, ptr undef, align 4
4325; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %113 = load <50 x i8>, ptr undef, align 4
4326; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %114 = load <51 x i8>, ptr undef, align 4
4327; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %115 = load <52 x i8>, ptr undef, align 4
4328; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %116 = load <53 x i8>, ptr undef, align 4
4329; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %117 = load <54 x i8>, ptr undef, align 4
4330; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %118 = load <55 x i8>, ptr undef, align 4
4331; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %119 = load <56 x i8>, ptr undef, align 4
4332; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %120 = load <57 x i8>, ptr undef, align 4
4333; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %121 = load <58 x i8>, ptr undef, align 4
4334; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %122 = load <59 x i8>, ptr undef, align 4
4335; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %123 = load <60 x i8>, ptr undef, align 4
4336; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %124 = load <61 x i8>, ptr undef, align 4
4337; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %125 = load <62 x i8>, ptr undef, align 4
4338; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %126 = load <63 x i8>, ptr undef, align 4
4339; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %127 = load <3 x i1>, ptr undef, align 4
4340; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %128 = load <5 x i1>, ptr undef, align 4
4341; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %129 = load <6 x i1>, ptr undef, align 4
4342; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %130 = load <7 x i1>, ptr undef, align 4
4343; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %131 = load <9 x i1>, ptr undef, align 4
4344; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %132 = load <10 x i1>, ptr undef, align 4
4345; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %133 = load <11 x i1>, ptr undef, align 4
4346; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %134 = load <12 x i1>, ptr undef, align 4
4347; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %135 = load <13 x i1>, ptr undef, align 4
4348; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %136 = load <14 x i1>, ptr undef, align 4
4349; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %137 = load <15 x i1>, ptr undef, align 4
4350; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %138 = load <17 x i1>, ptr undef, align 4
4351; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %139 = load <18 x i1>, ptr undef, align 4
4352; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %140 = load <19 x i1>, ptr undef, align 4
4353; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %141 = load <20 x i1>, ptr undef, align 4
4354; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %142 = load <21 x i1>, ptr undef, align 4
4355; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %143 = load <22 x i1>, ptr undef, align 4
4356; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %144 = load <23 x i1>, ptr undef, align 4
4357; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %145 = load <24 x i1>, ptr undef, align 4
4358; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %146 = load <25 x i1>, ptr undef, align 4
4359; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %147 = load <26 x i1>, ptr undef, align 4
4360; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %148 = load <27 x i1>, ptr undef, align 4
4361; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %149 = load <28 x i1>, ptr undef, align 4
4362; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %150 = load <29 x i1>, ptr undef, align 4
4363; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %151 = load <30 x i1>, ptr undef, align 4
4364; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %152 = load <31 x i1>, ptr undef, align 4
4365; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %153 = load <33 x i1>, ptr undef, align 4
4366; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %154 = load <34 x i1>, ptr undef, align 4
4367; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %155 = load <35 x i1>, ptr undef, align 4
4368; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %156 = load <36 x i1>, ptr undef, align 4
4369; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %157 = load <37 x i1>, ptr undef, align 4
4370; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %158 = load <38 x i1>, ptr undef, align 4
4371; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %159 = load <39 x i1>, ptr undef, align 4
4372; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %160 = load <40 x i1>, ptr undef, align 4
4373; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %161 = load <41 x i1>, ptr undef, align 4
4374; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %162 = load <42 x i1>, ptr undef, align 4
4375; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %163 = load <43 x i1>, ptr undef, align 4
4376; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %164 = load <44 x i1>, ptr undef, align 4
4377; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %165 = load <45 x i1>, ptr undef, align 4
4378; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %166 = load <46 x i1>, ptr undef, align 4
4379; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %167 = load <47 x i1>, ptr undef, align 4
4380; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %168 = load <48 x i1>, ptr undef, align 4
4381; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %169 = load <49 x i1>, ptr undef, align 4
4382; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %170 = load <50 x i1>, ptr undef, align 4
4383; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %171 = load <51 x i1>, ptr undef, align 4
4384; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %172 = load <52 x i1>, ptr undef, align 4
4385; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %173 = load <53 x i1>, ptr undef, align 4
4386; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %174 = load <54 x i1>, ptr undef, align 4
4387; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %175 = load <55 x i1>, ptr undef, align 4
4388; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %176 = load <56 x i1>, ptr undef, align 4
4389; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %177 = load <57 x i1>, ptr undef, align 4
4390; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %178 = load <58 x i1>, ptr undef, align 4
4391; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %179 = load <59 x i1>, ptr undef, align 4
4392; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %180 = load <60 x i1>, ptr undef, align 4
4393; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %181 = load <61 x i1>, ptr undef, align 4
4394; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %182 = load <62 x i1>, ptr undef, align 4
4395; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %183 = load <63 x i1>, ptr undef, align 4
4396; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
4397;
4398; AVX-LABEL: 'loads_partial_align4'
4399; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 4
4400; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %2 = load <3 x i64>, ptr undef, align 4
4401; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %3 = load <5 x i64>, ptr undef, align 4
4402; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %4 = load <6 x i64>, ptr undef, align 4
4403; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %5 = load <7 x i64>, ptr undef, align 4
4404; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 4
4405; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %7 = load <3 x double>, ptr undef, align 4
4406; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %8 = load <5 x double>, ptr undef, align 4
4407; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %9 = load <6 x double>, ptr undef, align 4
4408; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %10 = load <7 x double>, ptr undef, align 4
4409; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 4
4410; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 4
4411; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %13 = load <3 x i32>, ptr undef, align 4
4412; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %14 = load <5 x i32>, ptr undef, align 4
4413; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %15 = load <6 x i32>, ptr undef, align 4
4414; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %16 = load <7 x i32>, ptr undef, align 4
4415; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <9 x i32>, ptr undef, align 4
4416; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %18 = load <10 x i32>, ptr undef, align 4
4417; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %19 = load <11 x i32>, ptr undef, align 4
4418; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %20 = load <12 x i32>, ptr undef, align 4
4419; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %21 = load <13 x i32>, ptr undef, align 4
4420; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %22 = load <14 x i32>, ptr undef, align 4
4421; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %23 = load <15 x i32>, ptr undef, align 4
4422; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 4
4423; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 4
4424; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %26 = load <3 x float>, ptr undef, align 4
4425; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %27 = load <5 x float>, ptr undef, align 4
4426; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %28 = load <6 x float>, ptr undef, align 4
4427; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %29 = load <7 x float>, ptr undef, align 4
4428; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %30 = load <9 x float>, ptr undef, align 4
4429; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %31 = load <10 x float>, ptr undef, align 4
4430; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <11 x float>, ptr undef, align 4
4431; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %33 = load <12 x float>, ptr undef, align 4
4432; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %34 = load <13 x float>, ptr undef, align 4
4433; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %35 = load <14 x float>, ptr undef, align 4
4434; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %36 = load <15 x float>, ptr undef, align 4
4435; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 4
4436; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 4
4437; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %39 = load <3 x i16>, ptr undef, align 4
4438; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 4
4439; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %41 = load <5 x i16>, ptr undef, align 4
4440; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %42 = load <6 x i16>, ptr undef, align 4
4441; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %43 = load <7 x i16>, ptr undef, align 4
4442; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %44 = load <9 x i16>, ptr undef, align 4
4443; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <10 x i16>, ptr undef, align 4
4444; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %46 = load <11 x i16>, ptr undef, align 4
4445; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %47 = load <12 x i16>, ptr undef, align 4
4446; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %48 = load <13 x i16>, ptr undef, align 4
4447; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %49 = load <14 x i16>, ptr undef, align 4
4448; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %50 = load <15 x i16>, ptr undef, align 4
4449; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %51 = load <17 x i16>, ptr undef, align 4
4450; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %52 = load <18 x i16>, ptr undef, align 4
4451; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %53 = load <19 x i16>, ptr undef, align 4
4452; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %54 = load <20 x i16>, ptr undef, align 4
4453; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %55 = load <21 x i16>, ptr undef, align 4
4454; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %56 = load <22 x i16>, ptr undef, align 4
4455; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %57 = load <23 x i16>, ptr undef, align 4
4456; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %58 = load <24 x i16>, ptr undef, align 4
4457; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %59 = load <25 x i16>, ptr undef, align 4
4458; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %60 = load <26 x i16>, ptr undef, align 4
4459; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %61 = load <27 x i16>, ptr undef, align 4
4460; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %62 = load <28 x i16>, ptr undef, align 4
4461; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %63 = load <29 x i16>, ptr undef, align 4
4462; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %64 = load <30 x i16>, ptr undef, align 4
4463; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %65 = load <31 x i16>, ptr undef, align 4
4464; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 4
4465; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %67 = load <2 x i8>, ptr undef, align 4
4466; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %68 = load <3 x i8>, ptr undef, align 4
4467; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 4
4468; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %70 = load <5 x i8>, ptr undef, align 4
4469; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %71 = load <6 x i8>, ptr undef, align 4
4470; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %72 = load <7 x i8>, ptr undef, align 4
4471; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 4
4472; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %74 = load <9 x i8>, ptr undef, align 4
4473; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %75 = load <10 x i8>, ptr undef, align 4
4474; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %76 = load <11 x i8>, ptr undef, align 4
4475; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %77 = load <12 x i8>, ptr undef, align 4
4476; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %78 = load <13 x i8>, ptr undef, align 4
4477; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %79 = load <14 x i8>, ptr undef, align 4
4478; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %80 = load <15 x i8>, ptr undef, align 4
4479; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %81 = load <17 x i8>, ptr undef, align 4
4480; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %82 = load <18 x i8>, ptr undef, align 4
4481; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %83 = load <19 x i8>, ptr undef, align 4
4482; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %84 = load <20 x i8>, ptr undef, align 4
4483; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %85 = load <21 x i8>, ptr undef, align 4
4484; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %86 = load <22 x i8>, ptr undef, align 4
4485; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %87 = load <23 x i8>, ptr undef, align 4
4486; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %88 = load <24 x i8>, ptr undef, align 4
4487; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %89 = load <25 x i8>, ptr undef, align 4
4488; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %90 = load <26 x i8>, ptr undef, align 4
4489; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %91 = load <27 x i8>, ptr undef, align 4
4490; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %92 = load <28 x i8>, ptr undef, align 4
4491; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %93 = load <29 x i8>, ptr undef, align 4
4492; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %94 = load <30 x i8>, ptr undef, align 4
4493; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %95 = load <31 x i8>, ptr undef, align 4
4494; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %96 = load <33 x i8>, ptr undef, align 4
4495; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %97 = load <34 x i8>, ptr undef, align 4
4496; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %98 = load <35 x i8>, ptr undef, align 4
4497; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %99 = load <36 x i8>, ptr undef, align 4
4498; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %100 = load <37 x i8>, ptr undef, align 4
4499; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %101 = load <38 x i8>, ptr undef, align 4
4500; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %102 = load <39 x i8>, ptr undef, align 4
4501; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %103 = load <40 x i8>, ptr undef, align 4
4502; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %104 = load <41 x i8>, ptr undef, align 4
4503; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %105 = load <42 x i8>, ptr undef, align 4
4504; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %106 = load <43 x i8>, ptr undef, align 4
4505; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %107 = load <44 x i8>, ptr undef, align 4
4506; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %108 = load <45 x i8>, ptr undef, align 4
4507; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %109 = load <46 x i8>, ptr undef, align 4
4508; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %110 = load <47 x i8>, ptr undef, align 4
4509; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %111 = load <48 x i8>, ptr undef, align 4
4510; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %112 = load <49 x i8>, ptr undef, align 4
4511; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %113 = load <50 x i8>, ptr undef, align 4
4512; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %114 = load <51 x i8>, ptr undef, align 4
4513; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %115 = load <52 x i8>, ptr undef, align 4
4514; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %116 = load <53 x i8>, ptr undef, align 4
4515; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %117 = load <54 x i8>, ptr undef, align 4
4516; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %118 = load <55 x i8>, ptr undef, align 4
4517; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %119 = load <56 x i8>, ptr undef, align 4
4518; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %120 = load <57 x i8>, ptr undef, align 4
4519; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %121 = load <58 x i8>, ptr undef, align 4
4520; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %122 = load <59 x i8>, ptr undef, align 4
4521; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %123 = load <60 x i8>, ptr undef, align 4
4522; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %124 = load <61 x i8>, ptr undef, align 4
4523; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %125 = load <62 x i8>, ptr undef, align 4
4524; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %126 = load <63 x i8>, ptr undef, align 4
4525; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %127 = load <3 x i1>, ptr undef, align 4
4526; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %128 = load <5 x i1>, ptr undef, align 4
4527; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %129 = load <6 x i1>, ptr undef, align 4
4528; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %130 = load <7 x i1>, ptr undef, align 4
4529; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %131 = load <9 x i1>, ptr undef, align 4
4530; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %132 = load <10 x i1>, ptr undef, align 4
4531; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %133 = load <11 x i1>, ptr undef, align 4
4532; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %134 = load <12 x i1>, ptr undef, align 4
4533; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %135 = load <13 x i1>, ptr undef, align 4
4534; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %136 = load <14 x i1>, ptr undef, align 4
4535; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %137 = load <15 x i1>, ptr undef, align 4
4536; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %138 = load <17 x i1>, ptr undef, align 4
4537; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %139 = load <18 x i1>, ptr undef, align 4
4538; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %140 = load <19 x i1>, ptr undef, align 4
4539; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %141 = load <20 x i1>, ptr undef, align 4
4540; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %142 = load <21 x i1>, ptr undef, align 4
4541; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %143 = load <22 x i1>, ptr undef, align 4
4542; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %144 = load <23 x i1>, ptr undef, align 4
4543; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %145 = load <24 x i1>, ptr undef, align 4
4544; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %146 = load <25 x i1>, ptr undef, align 4
4545; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %147 = load <26 x i1>, ptr undef, align 4
4546; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %148 = load <27 x i1>, ptr undef, align 4
4547; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %149 = load <28 x i1>, ptr undef, align 4
4548; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %150 = load <29 x i1>, ptr undef, align 4
4549; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %151 = load <30 x i1>, ptr undef, align 4
4550; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %152 = load <31 x i1>, ptr undef, align 4
4551; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %153 = load <33 x i1>, ptr undef, align 4
4552; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %154 = load <34 x i1>, ptr undef, align 4
4553; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %155 = load <35 x i1>, ptr undef, align 4
4554; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %156 = load <36 x i1>, ptr undef, align 4
4555; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %157 = load <37 x i1>, ptr undef, align 4
4556; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %158 = load <38 x i1>, ptr undef, align 4
4557; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %159 = load <39 x i1>, ptr undef, align 4
4558; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %160 = load <40 x i1>, ptr undef, align 4
4559; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %161 = load <41 x i1>, ptr undef, align 4
4560; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %162 = load <42 x i1>, ptr undef, align 4
4561; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %163 = load <43 x i1>, ptr undef, align 4
4562; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %164 = load <44 x i1>, ptr undef, align 4
4563; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %165 = load <45 x i1>, ptr undef, align 4
4564; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %166 = load <46 x i1>, ptr undef, align 4
4565; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %167 = load <47 x i1>, ptr undef, align 4
4566; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %168 = load <48 x i1>, ptr undef, align 4
4567; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %169 = load <49 x i1>, ptr undef, align 4
4568; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %170 = load <50 x i1>, ptr undef, align 4
4569; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %171 = load <51 x i1>, ptr undef, align 4
4570; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %172 = load <52 x i1>, ptr undef, align 4
4571; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %173 = load <53 x i1>, ptr undef, align 4
4572; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %174 = load <54 x i1>, ptr undef, align 4
4573; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %175 = load <55 x i1>, ptr undef, align 4
4574; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %176 = load <56 x i1>, ptr undef, align 4
4575; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %177 = load <57 x i1>, ptr undef, align 4
4576; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %178 = load <58 x i1>, ptr undef, align 4
4577; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %179 = load <59 x i1>, ptr undef, align 4
4578; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %180 = load <60 x i1>, ptr undef, align 4
4579; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %181 = load <61 x i1>, ptr undef, align 4
4580; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %182 = load <62 x i1>, ptr undef, align 4
4581; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %183 = load <63 x i1>, ptr undef, align 4
4582; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
4583;
4584; AVX512-LABEL: 'loads_partial_align4'
4585; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 4
4586; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %2 = load <3 x i64>, ptr undef, align 4
4587; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %3 = load <5 x i64>, ptr undef, align 4
4588; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %4 = load <6 x i64>, ptr undef, align 4
4589; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %5 = load <7 x i64>, ptr undef, align 4
4590; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 4
4591; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %7 = load <3 x double>, ptr undef, align 4
4592; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %8 = load <5 x double>, ptr undef, align 4
4593; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %9 = load <6 x double>, ptr undef, align 4
4594; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %10 = load <7 x double>, ptr undef, align 4
4595; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 4
4596; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 4
4597; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %13 = load <3 x i32>, ptr undef, align 4
4598; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %14 = load <5 x i32>, ptr undef, align 4
4599; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %15 = load <6 x i32>, ptr undef, align 4
4600; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %16 = load <7 x i32>, ptr undef, align 4
4601; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %17 = load <9 x i32>, ptr undef, align 4
4602; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %18 = load <10 x i32>, ptr undef, align 4
4603; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %19 = load <11 x i32>, ptr undef, align 4
4604; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %20 = load <12 x i32>, ptr undef, align 4
4605; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %21 = load <13 x i32>, ptr undef, align 4
4606; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %22 = load <14 x i32>, ptr undef, align 4
4607; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %23 = load <15 x i32>, ptr undef, align 4
4608; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 4
4609; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 4
4610; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %26 = load <3 x float>, ptr undef, align 4
4611; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %27 = load <5 x float>, ptr undef, align 4
4612; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %28 = load <6 x float>, ptr undef, align 4
4613; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %29 = load <7 x float>, ptr undef, align 4
4614; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %30 = load <9 x float>, ptr undef, align 4
4615; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %31 = load <10 x float>, ptr undef, align 4
4616; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %32 = load <11 x float>, ptr undef, align 4
4617; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %33 = load <12 x float>, ptr undef, align 4
4618; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %34 = load <13 x float>, ptr undef, align 4
4619; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %35 = load <14 x float>, ptr undef, align 4
4620; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %36 = load <15 x float>, ptr undef, align 4
4621; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 4
4622; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 4
4623; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %39 = load <3 x i16>, ptr undef, align 4
4624; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 4
4625; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %41 = load <5 x i16>, ptr undef, align 4
4626; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %42 = load <6 x i16>, ptr undef, align 4
4627; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %43 = load <7 x i16>, ptr undef, align 4
4628; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %44 = load <9 x i16>, ptr undef, align 4
4629; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <10 x i16>, ptr undef, align 4
4630; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %46 = load <11 x i16>, ptr undef, align 4
4631; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %47 = load <12 x i16>, ptr undef, align 4
4632; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %48 = load <13 x i16>, ptr undef, align 4
4633; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %49 = load <14 x i16>, ptr undef, align 4
4634; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %50 = load <15 x i16>, ptr undef, align 4
4635; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %51 = load <17 x i16>, ptr undef, align 4
4636; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %52 = load <18 x i16>, ptr undef, align 4
4637; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %53 = load <19 x i16>, ptr undef, align 4
4638; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %54 = load <20 x i16>, ptr undef, align 4
4639; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %55 = load <21 x i16>, ptr undef, align 4
4640; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %56 = load <22 x i16>, ptr undef, align 4
4641; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %57 = load <23 x i16>, ptr undef, align 4
4642; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %58 = load <24 x i16>, ptr undef, align 4
4643; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %59 = load <25 x i16>, ptr undef, align 4
4644; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %60 = load <26 x i16>, ptr undef, align 4
4645; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %61 = load <27 x i16>, ptr undef, align 4
4646; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %62 = load <28 x i16>, ptr undef, align 4
4647; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %63 = load <29 x i16>, ptr undef, align 4
4648; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %64 = load <30 x i16>, ptr undef, align 4
4649; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %65 = load <31 x i16>, ptr undef, align 4
4650; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 4
4651; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %67 = load <2 x i8>, ptr undef, align 4
4652; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %68 = load <3 x i8>, ptr undef, align 4
4653; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 4
4654; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %70 = load <5 x i8>, ptr undef, align 4
4655; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %71 = load <6 x i8>, ptr undef, align 4
4656; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %72 = load <7 x i8>, ptr undef, align 4
4657; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 4
4658; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %74 = load <9 x i8>, ptr undef, align 4
4659; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %75 = load <10 x i8>, ptr undef, align 4
4660; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %76 = load <11 x i8>, ptr undef, align 4
4661; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %77 = load <12 x i8>, ptr undef, align 4
4662; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %78 = load <13 x i8>, ptr undef, align 4
4663; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %79 = load <14 x i8>, ptr undef, align 4
4664; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %80 = load <15 x i8>, ptr undef, align 4
4665; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %81 = load <17 x i8>, ptr undef, align 4
4666; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %82 = load <18 x i8>, ptr undef, align 4
4667; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %83 = load <19 x i8>, ptr undef, align 4
4668; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %84 = load <20 x i8>, ptr undef, align 4
4669; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %85 = load <21 x i8>, ptr undef, align 4
4670; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %86 = load <22 x i8>, ptr undef, align 4
4671; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %87 = load <23 x i8>, ptr undef, align 4
4672; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %88 = load <24 x i8>, ptr undef, align 4
4673; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %89 = load <25 x i8>, ptr undef, align 4
4674; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %90 = load <26 x i8>, ptr undef, align 4
4675; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %91 = load <27 x i8>, ptr undef, align 4
4676; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %92 = load <28 x i8>, ptr undef, align 4
4677; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %93 = load <29 x i8>, ptr undef, align 4
4678; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %94 = load <30 x i8>, ptr undef, align 4
4679; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %95 = load <31 x i8>, ptr undef, align 4
4680; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %96 = load <33 x i8>, ptr undef, align 4
4681; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %97 = load <34 x i8>, ptr undef, align 4
4682; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %98 = load <35 x i8>, ptr undef, align 4
4683; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %99 = load <36 x i8>, ptr undef, align 4
4684; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %100 = load <37 x i8>, ptr undef, align 4
4685; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %101 = load <38 x i8>, ptr undef, align 4
4686; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %102 = load <39 x i8>, ptr undef, align 4
4687; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %103 = load <40 x i8>, ptr undef, align 4
4688; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %104 = load <41 x i8>, ptr undef, align 4
4689; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %105 = load <42 x i8>, ptr undef, align 4
4690; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %106 = load <43 x i8>, ptr undef, align 4
4691; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %107 = load <44 x i8>, ptr undef, align 4
4692; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %108 = load <45 x i8>, ptr undef, align 4
4693; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %109 = load <46 x i8>, ptr undef, align 4
4694; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %110 = load <47 x i8>, ptr undef, align 4
4695; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %111 = load <48 x i8>, ptr undef, align 4
4696; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %112 = load <49 x i8>, ptr undef, align 4
4697; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %113 = load <50 x i8>, ptr undef, align 4
4698; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %114 = load <51 x i8>, ptr undef, align 4
4699; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %115 = load <52 x i8>, ptr undef, align 4
4700; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %116 = load <53 x i8>, ptr undef, align 4
4701; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %117 = load <54 x i8>, ptr undef, align 4
4702; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %118 = load <55 x i8>, ptr undef, align 4
4703; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %119 = load <56 x i8>, ptr undef, align 4
4704; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %120 = load <57 x i8>, ptr undef, align 4
4705; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %121 = load <58 x i8>, ptr undef, align 4
4706; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %122 = load <59 x i8>, ptr undef, align 4
4707; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %123 = load <60 x i8>, ptr undef, align 4
4708; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %124 = load <61 x i8>, ptr undef, align 4
4709; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %125 = load <62 x i8>, ptr undef, align 4
4710; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %126 = load <63 x i8>, ptr undef, align 4
4711; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %127 = load <3 x i1>, ptr undef, align 4
4712; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %128 = load <5 x i1>, ptr undef, align 4
4713; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %129 = load <6 x i1>, ptr undef, align 4
4714; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %130 = load <7 x i1>, ptr undef, align 4
4715; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %131 = load <9 x i1>, ptr undef, align 4
4716; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %132 = load <10 x i1>, ptr undef, align 4
4717; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %133 = load <11 x i1>, ptr undef, align 4
4718; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %134 = load <12 x i1>, ptr undef, align 4
4719; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %135 = load <13 x i1>, ptr undef, align 4
4720; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %136 = load <14 x i1>, ptr undef, align 4
4721; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %137 = load <15 x i1>, ptr undef, align 4
4722; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %138 = load <17 x i1>, ptr undef, align 4
4723; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %139 = load <18 x i1>, ptr undef, align 4
4724; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %140 = load <19 x i1>, ptr undef, align 4
4725; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %141 = load <20 x i1>, ptr undef, align 4
4726; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %142 = load <21 x i1>, ptr undef, align 4
4727; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %143 = load <22 x i1>, ptr undef, align 4
4728; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %144 = load <23 x i1>, ptr undef, align 4
4729; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %145 = load <24 x i1>, ptr undef, align 4
4730; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %146 = load <25 x i1>, ptr undef, align 4
4731; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %147 = load <26 x i1>, ptr undef, align 4
4732; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %148 = load <27 x i1>, ptr undef, align 4
4733; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %149 = load <28 x i1>, ptr undef, align 4
4734; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %150 = load <29 x i1>, ptr undef, align 4
4735; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %151 = load <30 x i1>, ptr undef, align 4
4736; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %152 = load <31 x i1>, ptr undef, align 4
4737; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %153 = load <33 x i1>, ptr undef, align 4
4738; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %154 = load <34 x i1>, ptr undef, align 4
4739; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %155 = load <35 x i1>, ptr undef, align 4
4740; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %156 = load <36 x i1>, ptr undef, align 4
4741; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %157 = load <37 x i1>, ptr undef, align 4
4742; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %158 = load <38 x i1>, ptr undef, align 4
4743; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %159 = load <39 x i1>, ptr undef, align 4
4744; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %160 = load <40 x i1>, ptr undef, align 4
4745; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %161 = load <41 x i1>, ptr undef, align 4
4746; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %162 = load <42 x i1>, ptr undef, align 4
4747; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %163 = load <43 x i1>, ptr undef, align 4
4748; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %164 = load <44 x i1>, ptr undef, align 4
4749; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %165 = load <45 x i1>, ptr undef, align 4
4750; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %166 = load <46 x i1>, ptr undef, align 4
4751; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %167 = load <47 x i1>, ptr undef, align 4
4752; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %168 = load <48 x i1>, ptr undef, align 4
4753; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %169 = load <49 x i1>, ptr undef, align 4
4754; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %170 = load <50 x i1>, ptr undef, align 4
4755; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %171 = load <51 x i1>, ptr undef, align 4
4756; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %172 = load <52 x i1>, ptr undef, align 4
4757; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %173 = load <53 x i1>, ptr undef, align 4
4758; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %174 = load <54 x i1>, ptr undef, align 4
4759; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %175 = load <55 x i1>, ptr undef, align 4
4760; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %176 = load <56 x i1>, ptr undef, align 4
4761; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %177 = load <57 x i1>, ptr undef, align 4
4762; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %178 = load <58 x i1>, ptr undef, align 4
4763; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %179 = load <59 x i1>, ptr undef, align 4
4764; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %180 = load <60 x i1>, ptr undef, align 4
4765; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %181 = load <61 x i1>, ptr undef, align 4
4766; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %182 = load <62 x i1>, ptr undef, align 4
4767; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %183 = load <63 x i1>, ptr undef, align 4
4768; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
4769;
4770  load <1 x i64>, ptr undef, align 4
4771  ; <2 x i64> is XMM
4772  load <3 x i64>, ptr undef, align 4
4773  ; <4 x i64> is YMM
4774  load <5 x i64>, ptr undef, align 4
4775  load <6 x i64>, ptr undef, align 4
4776  load <7 x i64>, ptr undef, align 4
4777  ; <8 x i64> is ZMM
4778
4779  ; Partial vectors with double elements
4780  load <1 x double>, ptr undef, align 4
4781  ; <2 x double> is XMM
4782  load <3 x double>, ptr undef, align 4
4783  ; <4 x double> is YMM
4784  load <5 x double>, ptr undef, align 4
4785  load <6 x double>, ptr undef, align 4
4786  load <7 x double>, ptr undef, align 4
4787  ; <8 x double> is ZMM
4788
4789  ; Partial vectors with i32 elements
4790  load <1 x i32>, ptr undef, align 4
4791  load <2 x i32>, ptr undef, align 4
4792  load <3 x i32>, ptr undef, align 4
4793  ; <4 x i32> is XMM
4794  load <5 x i32>, ptr undef, align 4
4795  load <6 x i32>, ptr undef, align 4
4796  load <7 x i32>, ptr undef, align 4
4797  ; <8 x i32> is YMM
4798  load <9 x i32>, ptr undef, align 4
4799  load <10 x i32>, ptr undef, align 4
4800  load <11 x i32>, ptr undef, align 4
4801  load <12 x i32>, ptr undef, align 4
4802  load <13 x i32>, ptr undef, align 4
4803  load <14 x i32>, ptr undef, align 4
4804  load <15 x i32>, ptr undef, align 4
4805  ; <16 x i32> is ZMM
4806
4807  ; Partial vectors with float elements
4808  load <1 x float>, ptr undef, align 4
4809  load <2 x float>, ptr undef, align 4
4810  load <3 x float>, ptr undef, align 4
4811  ; <4 x float> is XMM
4812  load <5 x float>, ptr undef, align 4
4813  load <6 x float>, ptr undef, align 4
4814  load <7 x float>, ptr undef, align 4
4815  ; <8 x float> is YMM
4816  load <9 x float>, ptr undef, align 4
4817  load <10 x float>, ptr undef, align 4
4818  load <11 x float>, ptr undef, align 4
4819  load <12 x float>, ptr undef, align 4
4820  load <13 x float>, ptr undef, align 4
4821  load <14 x float>, ptr undef, align 4
4822  load <15 x float>, ptr undef, align 4
4823  ; <16 x float> is ZMM
4824
4825  ; Partial vectors with i16 elements
4826  load <1 x i16>, ptr undef, align 4
4827  load <2 x i16>, ptr undef, align 4
4828  load <3 x i16>, ptr undef, align 4
4829  load <4 x i16>, ptr undef, align 4
4830  load <5 x i16>, ptr undef, align 4
4831  load <6 x i16>, ptr undef, align 4
4832  load <7 x i16>, ptr undef, align 4
4833  ; <8 x i16> is XMM
4834  load <9 x i16>, ptr undef, align 4
4835  load <10 x i16>, ptr undef, align 4
4836  load <11 x i16>, ptr undef, align 4
4837  load <12 x i16>, ptr undef, align 4
4838  load <13 x i16>, ptr undef, align 4
4839  load <14 x i16>, ptr undef, align 4
4840  load <15 x i16>, ptr undef, align 4
4841  ; <16 x i16> is YMM
4842  load <17 x i16>, ptr undef, align 4
4843  load <18 x i16>, ptr undef, align 4
4844  load <19 x i16>, ptr undef, align 4
4845  load <20 x i16>, ptr undef, align 4
4846  load <21 x i16>, ptr undef, align 4
4847  load <22 x i16>, ptr undef, align 4
4848  load <23 x i16>, ptr undef, align 4
4849  load <24 x i16>, ptr undef, align 4
4850  load <25 x i16>, ptr undef, align 4
4851  load <26 x i16>, ptr undef, align 4
4852  load <27 x i16>, ptr undef, align 4
4853  load <28 x i16>, ptr undef, align 4
4854  load <29 x i16>, ptr undef, align 4
4855  load <30 x i16>, ptr undef, align 4
4856  load <31 x i16>, ptr undef, align 4
4857  ; <32 x i16> is ZMM
4858
4859  ; Partial vectors with i8 elements
4860  load <1 x i8>, ptr undef, align 4
4861  load <2 x i8>, ptr undef, align 4
4862  load <3 x i8>, ptr undef, align 4
4863  load <4 x i8>, ptr undef, align 4
4864  load <5 x i8>, ptr undef, align 4
4865  load <6 x i8>, ptr undef, align 4
4866  load <7 x i8>, ptr undef, align 4
4867  load <8 x i8>, ptr undef, align 4
4868  load <9 x i8>, ptr undef, align 4
4869  load <10 x i8>, ptr undef, align 4
4870  load <11 x i8>, ptr undef, align 4
4871  load <12 x i8>, ptr undef, align 4
4872  load <13 x i8>, ptr undef, align 4
4873  load <14 x i8>, ptr undef, align 4
4874  load <15 x i8>, ptr undef, align 4
4875  ; <16 x i8> is XMM
4876  load <17 x i8>, ptr undef, align 4
4877  load <18 x i8>, ptr undef, align 4
4878  load <19 x i8>, ptr undef, align 4
4879  load <20 x i8>, ptr undef, align 4
4880  load <21 x i8>, ptr undef, align 4
4881  load <22 x i8>, ptr undef, align 4
4882  load <23 x i8>, ptr undef, align 4
4883  load <24 x i8>, ptr undef, align 4
4884  load <25 x i8>, ptr undef, align 4
4885  load <26 x i8>, ptr undef, align 4
4886  load <27 x i8>, ptr undef, align 4
4887  load <28 x i8>, ptr undef, align 4
4888  load <29 x i8>, ptr undef, align 4
4889  load <30 x i8>, ptr undef, align 4
4890  load <31 x i8>, ptr undef, align 4
4891  ; <32 x i8> is YMM
4892  load <33 x i8>, ptr undef, align 4
4893  load <34 x i8>, ptr undef, align 4
4894  load <35 x i8>, ptr undef, align 4
4895  load <36 x i8>, ptr undef, align 4
4896  load <37 x i8>, ptr undef, align 4
4897  load <38 x i8>, ptr undef, align 4
4898  load <39 x i8>, ptr undef, align 4
4899  load <40 x i8>, ptr undef, align 4
4900  load <41 x i8>, ptr undef, align 4
4901  load <42 x i8>, ptr undef, align 4
4902  load <43 x i8>, ptr undef, align 4
4903  load <44 x i8>, ptr undef, align 4
4904  load <45 x i8>, ptr undef, align 4
4905  load <46 x i8>, ptr undef, align 4
4906  load <47 x i8>, ptr undef, align 4
4907  load <48 x i8>, ptr undef, align 4
4908  load <49 x i8>, ptr undef, align 4
4909  load <50 x i8>, ptr undef, align 4
4910  load <51 x i8>, ptr undef, align 4
4911  load <52 x i8>, ptr undef, align 4
4912  load <53 x i8>, ptr undef, align 4
4913  load <54 x i8>, ptr undef, align 4
4914  load <55 x i8>, ptr undef, align 4
4915  load <56 x i8>, ptr undef, align 4
4916  load <57 x i8>, ptr undef, align 4
4917  load <58 x i8>, ptr undef, align 4
4918  load <59 x i8>, ptr undef, align 4
4919  load <60 x i8>, ptr undef, align 4
4920  load <61 x i8>, ptr undef, align 4
4921  load <62 x i8>, ptr undef, align 4
4922  load <63 x i8>, ptr undef, align 4
4923  ; <64 x i8> is ZMM
4924
4925  ; Partial vectors with i1 elements
4926  ; <1 x i1> is XMM
4927  ; <2 x i1> is XMM
4928  load <3 x i1>, ptr undef, align 4
4929  ; <4 x i1> is XMM
4930  load <5 x i1>, ptr undef, align 4
4931  load <6 x i1>, ptr undef, align 4
4932  load <7 x i1>, ptr undef, align 4
4933  ; <8 x i1> is XMM
4934  load <9 x i1>, ptr undef, align 4
4935  load <10 x i1>, ptr undef, align 4
4936  load <11 x i1>, ptr undef, align 4
4937  load <12 x i1>, ptr undef, align 4
4938  load <13 x i1>, ptr undef, align 4
4939  load <14 x i1>, ptr undef, align 4
4940  load <15 x i1>, ptr undef, align 4
4941  ; <16 x i1> is XMM
4942  load <17 x i1>, ptr undef, align 4
4943  load <18 x i1>, ptr undef, align 4
4944  load <19 x i1>, ptr undef, align 4
4945  load <20 x i1>, ptr undef, align 4
4946  load <21 x i1>, ptr undef, align 4
4947  load <22 x i1>, ptr undef, align 4
4948  load <23 x i1>, ptr undef, align 4
4949  load <24 x i1>, ptr undef, align 4
4950  load <25 x i1>, ptr undef, align 4
4951  load <26 x i1>, ptr undef, align 4
4952  load <27 x i1>, ptr undef, align 4
4953  load <28 x i1>, ptr undef, align 4
4954  load <29 x i1>, ptr undef, align 4
4955  load <30 x i1>, ptr undef, align 4
4956  load <31 x i1>, ptr undef, align 4
4957  ; <32 x i1> is YMM
4958  load <33 x i1>, ptr undef, align 4
4959  load <34 x i1>, ptr undef, align 4
4960  load <35 x i1>, ptr undef, align 4
4961  load <36 x i1>, ptr undef, align 4
4962  load <37 x i1>, ptr undef, align 4
4963  load <38 x i1>, ptr undef, align 4
4964  load <39 x i1>, ptr undef, align 4
4965  load <40 x i1>, ptr undef, align 4
4966  load <41 x i1>, ptr undef, align 4
4967  load <42 x i1>, ptr undef, align 4
4968  load <43 x i1>, ptr undef, align 4
4969  load <44 x i1>, ptr undef, align 4
4970  load <45 x i1>, ptr undef, align 4
4971  load <46 x i1>, ptr undef, align 4
4972  load <47 x i1>, ptr undef, align 4
4973  load <48 x i1>, ptr undef, align 4
4974  load <49 x i1>, ptr undef, align 4
4975  load <50 x i1>, ptr undef, align 4
4976  load <51 x i1>, ptr undef, align 4
4977  load <52 x i1>, ptr undef, align 4
4978  load <53 x i1>, ptr undef, align 4
4979  load <54 x i1>, ptr undef, align 4
4980  load <55 x i1>, ptr undef, align 4
4981  load <56 x i1>, ptr undef, align 4
4982  load <57 x i1>, ptr undef, align 4
4983  load <58 x i1>, ptr undef, align 4
4984  load <59 x i1>, ptr undef, align 4
4985  load <60 x i1>, ptr undef, align 4
4986  load <61 x i1>, ptr undef, align 4
4987  load <62 x i1>, ptr undef, align 4
4988  load <63 x i1>, ptr undef, align 4
4989  ; <64 x i1> is ZMM
4990
4991  ret i32 undef
4992}
4993
4994define i32 @loads_align1(i32 %arg) {
4995  ; Scalars
4996; SSE2-LABEL: 'loads_align1'
4997; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 1
4998; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 1
4999; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 1
5000; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 1
5001; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 1
5002; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 1
5003; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 1
5004; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 1
5005; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 1
5006; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 1
5007; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 1
5008; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <128 x i1>, ptr undef, align 1
5009; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 1
5010; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 1
5011; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 1
5012; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 1
5013; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 1
5014; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 1
5015; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 1
5016; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 1
5017; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %21 = load <16 x i1>, ptr undef, align 1
5018; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %22 = load <8 x i1>, ptr undef, align 1
5019; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %23 = load <4 x i1>, ptr undef, align 1
5020; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %24 = load <2 x i1>, ptr undef, align 1
5021; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <1 x i1>, ptr undef, align 1
5022; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %26 = load <256 x i1>, ptr undef, align 1
5023; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <32 x i8>, ptr undef, align 1
5024; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <16 x i16>, ptr undef, align 1
5025; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %29 = load <8 x i32>, ptr undef, align 1
5026; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %30 = load <4 x i64>, ptr undef, align 1
5027; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 1
5028; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 1
5029; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %33 = load <8 x float>, ptr undef, align 1
5030; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %34 = load <4 x double>, ptr undef, align 1
5031; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %35 = load <4 x ptr>, ptr undef, align 1
5032; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 1
5033; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %37 = load <512 x i1>, ptr undef, align 1
5034; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %38 = load <64 x i8>, ptr undef, align 1
5035; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <32 x i16>, ptr undef, align 1
5036; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %40 = load <16 x i32>, ptr undef, align 1
5037; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <8 x i64>, ptr undef, align 1
5038; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 1
5039; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 1
5040; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 1
5041; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <16 x float>, ptr undef, align 1
5042; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %46 = load <8 x double>, ptr undef, align 1
5043; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %47 = load <8 x ptr>, ptr undef, align 1
5044; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 1
5045; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
5046;
5047; SSE41-LABEL: 'loads_align1'
5048; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 1
5049; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 1
5050; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 1
5051; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 1
5052; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 1
5053; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 1
5054; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 1
5055; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 1
5056; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 1
5057; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 1
5058; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 1
5059; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <128 x i1>, ptr undef, align 1
5060; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 1
5061; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 1
5062; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 1
5063; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 1
5064; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 1
5065; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 1
5066; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 1
5067; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 1
5068; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %21 = load <16 x i1>, ptr undef, align 1
5069; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %22 = load <8 x i1>, ptr undef, align 1
5070; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %23 = load <4 x i1>, ptr undef, align 1
5071; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %24 = load <2 x i1>, ptr undef, align 1
5072; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <1 x i1>, ptr undef, align 1
5073; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %26 = load <256 x i1>, ptr undef, align 1
5074; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <32 x i8>, ptr undef, align 1
5075; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <16 x i16>, ptr undef, align 1
5076; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %29 = load <8 x i32>, ptr undef, align 1
5077; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %30 = load <4 x i64>, ptr undef, align 1
5078; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 1
5079; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 1
5080; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %33 = load <8 x float>, ptr undef, align 1
5081; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %34 = load <4 x double>, ptr undef, align 1
5082; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %35 = load <4 x ptr>, ptr undef, align 1
5083; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 1
5084; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %37 = load <512 x i1>, ptr undef, align 1
5085; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %38 = load <64 x i8>, ptr undef, align 1
5086; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <32 x i16>, ptr undef, align 1
5087; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %40 = load <16 x i32>, ptr undef, align 1
5088; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <8 x i64>, ptr undef, align 1
5089; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 1
5090; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 1
5091; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 1
5092; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <16 x float>, ptr undef, align 1
5093; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %46 = load <8 x double>, ptr undef, align 1
5094; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %47 = load <8 x ptr>, ptr undef, align 1
5095; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 1
5096; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
5097;
5098; AVX-LABEL: 'loads_align1'
5099; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 1
5100; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 1
5101; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 1
5102; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 1
5103; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 1
5104; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 1
5105; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 1
5106; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 1
5107; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 1
5108; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 1
5109; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 1
5110; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <128 x i1>, ptr undef, align 1
5111; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 1
5112; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 1
5113; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 1
5114; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 1
5115; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 1
5116; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 1
5117; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 1
5118; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 1
5119; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %21 = load <16 x i1>, ptr undef, align 1
5120; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %22 = load <8 x i1>, ptr undef, align 1
5121; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %23 = load <4 x i1>, ptr undef, align 1
5122; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %24 = load <2 x i1>, ptr undef, align 1
5123; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <1 x i1>, ptr undef, align 1
5124; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %26 = load <256 x i1>, ptr undef, align 1
5125; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %27 = load <32 x i8>, ptr undef, align 1
5126; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %28 = load <16 x i16>, ptr undef, align 1
5127; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %29 = load <8 x i32>, ptr undef, align 1
5128; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %30 = load <4 x i64>, ptr undef, align 1
5129; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 1
5130; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 1
5131; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %33 = load <8 x float>, ptr undef, align 1
5132; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %34 = load <4 x double>, ptr undef, align 1
5133; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %35 = load <4 x ptr>, ptr undef, align 1
5134; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 1
5135; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %37 = load <512 x i1>, ptr undef, align 1
5136; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %38 = load <64 x i8>, ptr undef, align 1
5137; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %39 = load <32 x i16>, ptr undef, align 1
5138; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %40 = load <16 x i32>, ptr undef, align 1
5139; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %41 = load <8 x i64>, ptr undef, align 1
5140; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 1
5141; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 1
5142; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 1
5143; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %45 = load <16 x float>, ptr undef, align 1
5144; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %46 = load <8 x double>, ptr undef, align 1
5145; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %47 = load <8 x ptr>, ptr undef, align 1
5146; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 1
5147; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
5148;
5149; AVX512-LABEL: 'loads_align1'
5150; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 1
5151; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 1
5152; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 1
5153; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 1
5154; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 1
5155; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 1
5156; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 1
5157; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 1
5158; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 1
5159; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 1
5160; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 1
5161; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %12 = load <128 x i1>, ptr undef, align 1
5162; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 1
5163; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 1
5164; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 1
5165; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 1
5166; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 1
5167; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 1
5168; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 1
5169; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 1
5170; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %21 = load <16 x i1>, ptr undef, align 1
5171; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %22 = load <8 x i1>, ptr undef, align 1
5172; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %23 = load <4 x i1>, ptr undef, align 1
5173; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %24 = load <2 x i1>, ptr undef, align 1
5174; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %25 = load <1 x i1>, ptr undef, align 1
5175; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %26 = load <256 x i1>, ptr undef, align 1
5176; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %27 = load <32 x i8>, ptr undef, align 1
5177; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %28 = load <16 x i16>, ptr undef, align 1
5178; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %29 = load <8 x i32>, ptr undef, align 1
5179; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %30 = load <4 x i64>, ptr undef, align 1
5180; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 1
5181; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 1
5182; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %33 = load <8 x float>, ptr undef, align 1
5183; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %34 = load <4 x double>, ptr undef, align 1
5184; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %35 = load <4 x ptr>, ptr undef, align 1
5185; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 1
5186; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %37 = load <512 x i1>, ptr undef, align 1
5187; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <64 x i8>, ptr undef, align 1
5188; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %39 = load <32 x i16>, ptr undef, align 1
5189; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <16 x i32>, ptr undef, align 1
5190; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %41 = load <8 x i64>, ptr undef, align 1
5191; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 1
5192; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 1
5193; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 1
5194; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %45 = load <16 x float>, ptr undef, align 1
5195; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %46 = load <8 x double>, ptr undef, align 1
5196; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %47 = load <8 x ptr>, ptr undef, align 1
5197; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 1
5198; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
5199;
5200  load i8, ptr undef, align 1
5201  load i16, ptr undef, align 1
5202  load i32, ptr undef, align 1
5203  load i64, ptr undef, align 1
5204  load i128, ptr undef, align 1
5205  load i256, ptr undef, align 1
5206  load i512, ptr undef, align 1
5207
5208  load float, ptr undef, align 1
5209  load double, ptr undef, align 1
5210
5211  load ptr, ptr undef, align 1
5212
5213  load ptr, ptr undef, align 1
5214
5215  ; XMM (128-bit) vectors
5216  load <128 x i1>, ptr undef, align 1
5217  load <16 x i8>, ptr undef, align 1
5218  load <8 x i16>, ptr undef, align 1
5219  load <4 x i32>, ptr undef, align 1
5220  load <2 x i64>, ptr undef, align 1
5221  load <1 x i128>, ptr undef, align 1
5222
5223  load <4 x float>, ptr undef, align 1
5224  load <2 x double>, ptr undef, align 1
5225
5226  load <2 x ptr>, ptr undef, align 1
5227
5228  load <16 x i1>, ptr undef, align 1
5229  load <8 x i1>, ptr undef, align 1
5230  load <4 x i1>, ptr undef, align 1
5231  load <2 x i1>, ptr undef, align 1
5232  load <1 x i1>, ptr undef, align 1
5233
5234  ; YMM (256-bit) vectors
5235  load <256 x i1>, ptr undef, align 1
5236  load <32 x i8>, ptr undef, align 1
5237  load <16 x i16>, ptr undef, align 1
5238  load <8 x i32>, ptr undef, align 1
5239  load <4 x i64>, ptr undef, align 1
5240  load <2 x i128>, ptr undef, align 1
5241  load <1 x i256>, ptr undef, align 1
5242
5243  load <8 x float>, ptr undef, align 1
5244  load <4 x double>, ptr undef, align 1
5245
5246  load <4 x ptr>, ptr undef, align 1
5247
5248  load <32 x i1>, ptr undef, align 1
5249
5250  ; ZMM (512-bit) vectors
5251  load <512 x i1>, ptr undef, align 1
5252  load <64 x i8>, ptr undef, align 1
5253  load <32 x i16>, ptr undef, align 1
5254  load <16 x i32>, ptr undef, align 1
5255  load <8 x i64>, ptr undef, align 1
5256  load <4 x i128>, ptr undef, align 1
5257  load <2 x i256>, ptr undef, align 1
5258  load <1 x i512>, ptr undef, align 1
5259
5260  load <16 x float>, ptr undef, align 1
5261  load <8 x double>, ptr undef, align 1
5262
5263  load <8 x ptr>, ptr undef, align 1
5264
5265  load <64 x i1>, ptr undef, align 1
5266
5267  ret i32 undef
5268}
5269
5270define i32 @loads_partial_align1(i32 %arg) {
5271  ; Partial vectors with i64 elements (doubles as pointer-sized tests))
5272; SSE2-LABEL: 'loads_partial_align1'
5273; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 1
5274; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %2 = load <3 x i64>, ptr undef, align 1
5275; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %3 = load <5 x i64>, ptr undef, align 1
5276; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %4 = load <6 x i64>, ptr undef, align 1
5277; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %5 = load <7 x i64>, ptr undef, align 1
5278; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 1
5279; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %7 = load <3 x double>, ptr undef, align 1
5280; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %8 = load <5 x double>, ptr undef, align 1
5281; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %9 = load <6 x double>, ptr undef, align 1
5282; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %10 = load <7 x double>, ptr undef, align 1
5283; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 1
5284; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 1
5285; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %13 = load <3 x i32>, ptr undef, align 1
5286; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %14 = load <5 x i32>, ptr undef, align 1
5287; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %15 = load <6 x i32>, ptr undef, align 1
5288; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %16 = load <7 x i32>, ptr undef, align 1
5289; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %17 = load <9 x i32>, ptr undef, align 1
5290; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %18 = load <10 x i32>, ptr undef, align 1
5291; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %19 = load <11 x i32>, ptr undef, align 1
5292; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %20 = load <12 x i32>, ptr undef, align 1
5293; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %21 = load <13 x i32>, ptr undef, align 1
5294; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %22 = load <14 x i32>, ptr undef, align 1
5295; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %23 = load <15 x i32>, ptr undef, align 1
5296; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 1
5297; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 1
5298; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %26 = load <3 x float>, ptr undef, align 1
5299; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <5 x float>, ptr undef, align 1
5300; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <6 x float>, ptr undef, align 1
5301; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %29 = load <7 x float>, ptr undef, align 1
5302; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %30 = load <9 x float>, ptr undef, align 1
5303; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %31 = load <10 x float>, ptr undef, align 1
5304; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %32 = load <11 x float>, ptr undef, align 1
5305; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %33 = load <12 x float>, ptr undef, align 1
5306; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %34 = load <13 x float>, ptr undef, align 1
5307; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %35 = load <14 x float>, ptr undef, align 1
5308; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %36 = load <15 x float>, ptr undef, align 1
5309; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 1
5310; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 1
5311; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <3 x i16>, ptr undef, align 1
5312; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 1
5313; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <5 x i16>, ptr undef, align 1
5314; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %42 = load <6 x i16>, ptr undef, align 1
5315; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %43 = load <7 x i16>, ptr undef, align 1
5316; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %44 = load <9 x i16>, ptr undef, align 1
5317; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %45 = load <10 x i16>, ptr undef, align 1
5318; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %46 = load <11 x i16>, ptr undef, align 1
5319; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %47 = load <12 x i16>, ptr undef, align 1
5320; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %48 = load <13 x i16>, ptr undef, align 1
5321; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %49 = load <14 x i16>, ptr undef, align 1
5322; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %50 = load <15 x i16>, ptr undef, align 1
5323; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %51 = load <17 x i16>, ptr undef, align 1
5324; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %52 = load <18 x i16>, ptr undef, align 1
5325; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %53 = load <19 x i16>, ptr undef, align 1
5326; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %54 = load <20 x i16>, ptr undef, align 1
5327; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %55 = load <21 x i16>, ptr undef, align 1
5328; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %56 = load <22 x i16>, ptr undef, align 1
5329; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %57 = load <23 x i16>, ptr undef, align 1
5330; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %58 = load <24 x i16>, ptr undef, align 1
5331; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %59 = load <25 x i16>, ptr undef, align 1
5332; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %60 = load <26 x i16>, ptr undef, align 1
5333; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %61 = load <27 x i16>, ptr undef, align 1
5334; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %62 = load <28 x i16>, ptr undef, align 1
5335; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %63 = load <29 x i16>, ptr undef, align 1
5336; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %64 = load <30 x i16>, ptr undef, align 1
5337; SSE2-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: %65 = load <31 x i16>, ptr undef, align 1
5338; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 1
5339; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %67 = load <2 x i8>, ptr undef, align 1
5340; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %68 = load <3 x i8>, ptr undef, align 1
5341; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 1
5342; SSE2-NEXT:  Cost Model: Found an estimated cost of 19 for instruction: %70 = load <5 x i8>, ptr undef, align 1
5343; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %71 = load <6 x i8>, ptr undef, align 1
5344; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %72 = load <7 x i8>, ptr undef, align 1
5345; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 1
5346; SSE2-NEXT:  Cost Model: Found an estimated cost of 19 for instruction: %74 = load <9 x i8>, ptr undef, align 1
5347; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %75 = load <10 x i8>, ptr undef, align 1
5348; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %76 = load <11 x i8>, ptr undef, align 1
5349; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %77 = load <12 x i8>, ptr undef, align 1
5350; SSE2-NEXT:  Cost Model: Found an estimated cost of 24 for instruction: %78 = load <13 x i8>, ptr undef, align 1
5351; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %79 = load <14 x i8>, ptr undef, align 1
5352; SSE2-NEXT:  Cost Model: Found an estimated cost of 27 for instruction: %80 = load <15 x i8>, ptr undef, align 1
5353; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %81 = load <17 x i8>, ptr undef, align 1
5354; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %82 = load <18 x i8>, ptr undef, align 1
5355; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %83 = load <19 x i8>, ptr undef, align 1
5356; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %84 = load <20 x i8>, ptr undef, align 1
5357; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %85 = load <21 x i8>, ptr undef, align 1
5358; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %86 = load <22 x i8>, ptr undef, align 1
5359; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %87 = load <23 x i8>, ptr undef, align 1
5360; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %88 = load <24 x i8>, ptr undef, align 1
5361; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %89 = load <25 x i8>, ptr undef, align 1
5362; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %90 = load <26 x i8>, ptr undef, align 1
5363; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %91 = load <27 x i8>, ptr undef, align 1
5364; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %92 = load <28 x i8>, ptr undef, align 1
5365; SSE2-NEXT:  Cost Model: Found an estimated cost of 25 for instruction: %93 = load <29 x i8>, ptr undef, align 1
5366; SSE2-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %94 = load <30 x i8>, ptr undef, align 1
5367; SSE2-NEXT:  Cost Model: Found an estimated cost of 28 for instruction: %95 = load <31 x i8>, ptr undef, align 1
5368; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %96 = load <33 x i8>, ptr undef, align 1
5369; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %97 = load <34 x i8>, ptr undef, align 1
5370; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %98 = load <35 x i8>, ptr undef, align 1
5371; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %99 = load <36 x i8>, ptr undef, align 1
5372; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %100 = load <37 x i8>, ptr undef, align 1
5373; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %101 = load <38 x i8>, ptr undef, align 1
5374; SSE2-NEXT:  Cost Model: Found an estimated cost of 24 for instruction: %102 = load <39 x i8>, ptr undef, align 1
5375; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %103 = load <40 x i8>, ptr undef, align 1
5376; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %104 = load <41 x i8>, ptr undef, align 1
5377; SSE2-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %105 = load <42 x i8>, ptr undef, align 1
5378; SSE2-NEXT:  Cost Model: Found an estimated cost of 24 for instruction: %106 = load <43 x i8>, ptr undef, align 1
5379; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %107 = load <44 x i8>, ptr undef, align 1
5380; SSE2-NEXT:  Cost Model: Found an estimated cost of 26 for instruction: %108 = load <45 x i8>, ptr undef, align 1
5381; SSE2-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %109 = load <46 x i8>, ptr undef, align 1
5382; SSE2-NEXT:  Cost Model: Found an estimated cost of 29 for instruction: %110 = load <47 x i8>, ptr undef, align 1
5383; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %111 = load <48 x i8>, ptr undef, align 1
5384; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %112 = load <49 x i8>, ptr undef, align 1
5385; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %113 = load <50 x i8>, ptr undef, align 1
5386; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %114 = load <51 x i8>, ptr undef, align 1
5387; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %115 = load <52 x i8>, ptr undef, align 1
5388; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %116 = load <53 x i8>, ptr undef, align 1
5389; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %117 = load <54 x i8>, ptr undef, align 1
5390; SSE2-NEXT:  Cost Model: Found an estimated cost of 25 for instruction: %118 = load <55 x i8>, ptr undef, align 1
5391; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %119 = load <56 x i8>, ptr undef, align 1
5392; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %120 = load <57 x i8>, ptr undef, align 1
5393; SSE2-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %121 = load <58 x i8>, ptr undef, align 1
5394; SSE2-NEXT:  Cost Model: Found an estimated cost of 25 for instruction: %122 = load <59 x i8>, ptr undef, align 1
5395; SSE2-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %123 = load <60 x i8>, ptr undef, align 1
5396; SSE2-NEXT:  Cost Model: Found an estimated cost of 27 for instruction: %124 = load <61 x i8>, ptr undef, align 1
5397; SSE2-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: %125 = load <62 x i8>, ptr undef, align 1
5398; SSE2-NEXT:  Cost Model: Found an estimated cost of 30 for instruction: %126 = load <63 x i8>, ptr undef, align 1
5399; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %127 = load <3 x i1>, ptr undef, align 1
5400; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %128 = load <5 x i1>, ptr undef, align 1
5401; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %129 = load <6 x i1>, ptr undef, align 1
5402; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %130 = load <7 x i1>, ptr undef, align 1
5403; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %131 = load <9 x i1>, ptr undef, align 1
5404; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %132 = load <10 x i1>, ptr undef, align 1
5405; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %133 = load <11 x i1>, ptr undef, align 1
5406; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %134 = load <12 x i1>, ptr undef, align 1
5407; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %135 = load <13 x i1>, ptr undef, align 1
5408; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %136 = load <14 x i1>, ptr undef, align 1
5409; SSE2-NEXT:  Cost Model: Found an estimated cost of 20 for instruction: %137 = load <15 x i1>, ptr undef, align 1
5410; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %138 = load <17 x i1>, ptr undef, align 1
5411; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %139 = load <18 x i1>, ptr undef, align 1
5412; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %140 = load <19 x i1>, ptr undef, align 1
5413; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %141 = load <20 x i1>, ptr undef, align 1
5414; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %142 = load <21 x i1>, ptr undef, align 1
5415; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %143 = load <22 x i1>, ptr undef, align 1
5416; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %144 = load <23 x i1>, ptr undef, align 1
5417; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %145 = load <24 x i1>, ptr undef, align 1
5418; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %146 = load <25 x i1>, ptr undef, align 1
5419; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %147 = load <26 x i1>, ptr undef, align 1
5420; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %148 = load <27 x i1>, ptr undef, align 1
5421; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %149 = load <28 x i1>, ptr undef, align 1
5422; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %150 = load <29 x i1>, ptr undef, align 1
5423; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %151 = load <30 x i1>, ptr undef, align 1
5424; SSE2-NEXT:  Cost Model: Found an estimated cost of 22 for instruction: %152 = load <31 x i1>, ptr undef, align 1
5425; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %153 = load <33 x i1>, ptr undef, align 1
5426; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %154 = load <34 x i1>, ptr undef, align 1
5427; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %155 = load <35 x i1>, ptr undef, align 1
5428; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %156 = load <36 x i1>, ptr undef, align 1
5429; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %157 = load <37 x i1>, ptr undef, align 1
5430; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %158 = load <38 x i1>, ptr undef, align 1
5431; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %159 = load <39 x i1>, ptr undef, align 1
5432; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %160 = load <40 x i1>, ptr undef, align 1
5433; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %161 = load <41 x i1>, ptr undef, align 1
5434; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %162 = load <42 x i1>, ptr undef, align 1
5435; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %163 = load <43 x i1>, ptr undef, align 1
5436; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %164 = load <44 x i1>, ptr undef, align 1
5437; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %165 = load <45 x i1>, ptr undef, align 1
5438; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %166 = load <46 x i1>, ptr undef, align 1
5439; SSE2-NEXT:  Cost Model: Found an estimated cost of 21 for instruction: %167 = load <47 x i1>, ptr undef, align 1
5440; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %168 = load <48 x i1>, ptr undef, align 1
5441; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %169 = load <49 x i1>, ptr undef, align 1
5442; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %170 = load <50 x i1>, ptr undef, align 1
5443; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %171 = load <51 x i1>, ptr undef, align 1
5444; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %172 = load <52 x i1>, ptr undef, align 1
5445; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %173 = load <53 x i1>, ptr undef, align 1
5446; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %174 = load <54 x i1>, ptr undef, align 1
5447; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %175 = load <55 x i1>, ptr undef, align 1
5448; SSE2-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %176 = load <56 x i1>, ptr undef, align 1
5449; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %177 = load <57 x i1>, ptr undef, align 1
5450; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %178 = load <58 x i1>, ptr undef, align 1
5451; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %179 = load <59 x i1>, ptr undef, align 1
5452; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %180 = load <60 x i1>, ptr undef, align 1
5453; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %181 = load <61 x i1>, ptr undef, align 1
5454; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %182 = load <62 x i1>, ptr undef, align 1
5455; SSE2-NEXT:  Cost Model: Found an estimated cost of 23 for instruction: %183 = load <63 x i1>, ptr undef, align 1
5456; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
5457;
5458; SSE41-LABEL: 'loads_partial_align1'
5459; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 1
5460; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %2 = load <3 x i64>, ptr undef, align 1
5461; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %3 = load <5 x i64>, ptr undef, align 1
5462; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %4 = load <6 x i64>, ptr undef, align 1
5463; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %5 = load <7 x i64>, ptr undef, align 1
5464; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 1
5465; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %7 = load <3 x double>, ptr undef, align 1
5466; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %8 = load <5 x double>, ptr undef, align 1
5467; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %9 = load <6 x double>, ptr undef, align 1
5468; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %10 = load <7 x double>, ptr undef, align 1
5469; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 1
5470; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 1
5471; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %13 = load <3 x i32>, ptr undef, align 1
5472; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %14 = load <5 x i32>, ptr undef, align 1
5473; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %15 = load <6 x i32>, ptr undef, align 1
5474; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %16 = load <7 x i32>, ptr undef, align 1
5475; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %17 = load <9 x i32>, ptr undef, align 1
5476; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %18 = load <10 x i32>, ptr undef, align 1
5477; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %19 = load <11 x i32>, ptr undef, align 1
5478; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %20 = load <12 x i32>, ptr undef, align 1
5479; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %21 = load <13 x i32>, ptr undef, align 1
5480; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %22 = load <14 x i32>, ptr undef, align 1
5481; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %23 = load <15 x i32>, ptr undef, align 1
5482; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 1
5483; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 1
5484; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %26 = load <3 x float>, ptr undef, align 1
5485; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <5 x float>, ptr undef, align 1
5486; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <6 x float>, ptr undef, align 1
5487; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %29 = load <7 x float>, ptr undef, align 1
5488; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %30 = load <9 x float>, ptr undef, align 1
5489; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %31 = load <10 x float>, ptr undef, align 1
5490; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %32 = load <11 x float>, ptr undef, align 1
5491; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %33 = load <12 x float>, ptr undef, align 1
5492; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %34 = load <13 x float>, ptr undef, align 1
5493; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %35 = load <14 x float>, ptr undef, align 1
5494; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %36 = load <15 x float>, ptr undef, align 1
5495; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 1
5496; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 1
5497; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <3 x i16>, ptr undef, align 1
5498; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 1
5499; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <5 x i16>, ptr undef, align 1
5500; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %42 = load <6 x i16>, ptr undef, align 1
5501; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %43 = load <7 x i16>, ptr undef, align 1
5502; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %44 = load <9 x i16>, ptr undef, align 1
5503; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %45 = load <10 x i16>, ptr undef, align 1
5504; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %46 = load <11 x i16>, ptr undef, align 1
5505; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %47 = load <12 x i16>, ptr undef, align 1
5506; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %48 = load <13 x i16>, ptr undef, align 1
5507; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %49 = load <14 x i16>, ptr undef, align 1
5508; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %50 = load <15 x i16>, ptr undef, align 1
5509; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %51 = load <17 x i16>, ptr undef, align 1
5510; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %52 = load <18 x i16>, ptr undef, align 1
5511; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %53 = load <19 x i16>, ptr undef, align 1
5512; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %54 = load <20 x i16>, ptr undef, align 1
5513; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %55 = load <21 x i16>, ptr undef, align 1
5514; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %56 = load <22 x i16>, ptr undef, align 1
5515; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %57 = load <23 x i16>, ptr undef, align 1
5516; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %58 = load <24 x i16>, ptr undef, align 1
5517; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %59 = load <25 x i16>, ptr undef, align 1
5518; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %60 = load <26 x i16>, ptr undef, align 1
5519; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %61 = load <27 x i16>, ptr undef, align 1
5520; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %62 = load <28 x i16>, ptr undef, align 1
5521; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %63 = load <29 x i16>, ptr undef, align 1
5522; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %64 = load <30 x i16>, ptr undef, align 1
5523; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %65 = load <31 x i16>, ptr undef, align 1
5524; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 1
5525; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %67 = load <2 x i8>, ptr undef, align 1
5526; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %68 = load <3 x i8>, ptr undef, align 1
5527; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 1
5528; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %70 = load <5 x i8>, ptr undef, align 1
5529; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %71 = load <6 x i8>, ptr undef, align 1
5530; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %72 = load <7 x i8>, ptr undef, align 1
5531; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 1
5532; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %74 = load <9 x i8>, ptr undef, align 1
5533; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %75 = load <10 x i8>, ptr undef, align 1
5534; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %76 = load <11 x i8>, ptr undef, align 1
5535; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %77 = load <12 x i8>, ptr undef, align 1
5536; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %78 = load <13 x i8>, ptr undef, align 1
5537; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %79 = load <14 x i8>, ptr undef, align 1
5538; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %80 = load <15 x i8>, ptr undef, align 1
5539; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %81 = load <17 x i8>, ptr undef, align 1
5540; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %82 = load <18 x i8>, ptr undef, align 1
5541; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %83 = load <19 x i8>, ptr undef, align 1
5542; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %84 = load <20 x i8>, ptr undef, align 1
5543; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %85 = load <21 x i8>, ptr undef, align 1
5544; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %86 = load <22 x i8>, ptr undef, align 1
5545; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %87 = load <23 x i8>, ptr undef, align 1
5546; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %88 = load <24 x i8>, ptr undef, align 1
5547; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %89 = load <25 x i8>, ptr undef, align 1
5548; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %90 = load <26 x i8>, ptr undef, align 1
5549; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %91 = load <27 x i8>, ptr undef, align 1
5550; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %92 = load <28 x i8>, ptr undef, align 1
5551; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %93 = load <29 x i8>, ptr undef, align 1
5552; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %94 = load <30 x i8>, ptr undef, align 1
5553; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %95 = load <31 x i8>, ptr undef, align 1
5554; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %96 = load <33 x i8>, ptr undef, align 1
5555; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %97 = load <34 x i8>, ptr undef, align 1
5556; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %98 = load <35 x i8>, ptr undef, align 1
5557; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %99 = load <36 x i8>, ptr undef, align 1
5558; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %100 = load <37 x i8>, ptr undef, align 1
5559; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %101 = load <38 x i8>, ptr undef, align 1
5560; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %102 = load <39 x i8>, ptr undef, align 1
5561; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %103 = load <40 x i8>, ptr undef, align 1
5562; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %104 = load <41 x i8>, ptr undef, align 1
5563; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %105 = load <42 x i8>, ptr undef, align 1
5564; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %106 = load <43 x i8>, ptr undef, align 1
5565; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %107 = load <44 x i8>, ptr undef, align 1
5566; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %108 = load <45 x i8>, ptr undef, align 1
5567; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %109 = load <46 x i8>, ptr undef, align 1
5568; SSE41-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %110 = load <47 x i8>, ptr undef, align 1
5569; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %111 = load <48 x i8>, ptr undef, align 1
5570; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %112 = load <49 x i8>, ptr undef, align 1
5571; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %113 = load <50 x i8>, ptr undef, align 1
5572; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %114 = load <51 x i8>, ptr undef, align 1
5573; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %115 = load <52 x i8>, ptr undef, align 1
5574; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %116 = load <53 x i8>, ptr undef, align 1
5575; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %117 = load <54 x i8>, ptr undef, align 1
5576; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %118 = load <55 x i8>, ptr undef, align 1
5577; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %119 = load <56 x i8>, ptr undef, align 1
5578; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %120 = load <57 x i8>, ptr undef, align 1
5579; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %121 = load <58 x i8>, ptr undef, align 1
5580; SSE41-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %122 = load <59 x i8>, ptr undef, align 1
5581; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %123 = load <60 x i8>, ptr undef, align 1
5582; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %124 = load <61 x i8>, ptr undef, align 1
5583; SSE41-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %125 = load <62 x i8>, ptr undef, align 1
5584; SSE41-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: %126 = load <63 x i8>, ptr undef, align 1
5585; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %127 = load <3 x i1>, ptr undef, align 1
5586; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %128 = load <5 x i1>, ptr undef, align 1
5587; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %129 = load <6 x i1>, ptr undef, align 1
5588; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %130 = load <7 x i1>, ptr undef, align 1
5589; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %131 = load <9 x i1>, ptr undef, align 1
5590; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %132 = load <10 x i1>, ptr undef, align 1
5591; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %133 = load <11 x i1>, ptr undef, align 1
5592; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %134 = load <12 x i1>, ptr undef, align 1
5593; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %135 = load <13 x i1>, ptr undef, align 1
5594; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %136 = load <14 x i1>, ptr undef, align 1
5595; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %137 = load <15 x i1>, ptr undef, align 1
5596; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %138 = load <17 x i1>, ptr undef, align 1
5597; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %139 = load <18 x i1>, ptr undef, align 1
5598; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %140 = load <19 x i1>, ptr undef, align 1
5599; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %141 = load <20 x i1>, ptr undef, align 1
5600; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %142 = load <21 x i1>, ptr undef, align 1
5601; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %143 = load <22 x i1>, ptr undef, align 1
5602; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %144 = load <23 x i1>, ptr undef, align 1
5603; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %145 = load <24 x i1>, ptr undef, align 1
5604; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %146 = load <25 x i1>, ptr undef, align 1
5605; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %147 = load <26 x i1>, ptr undef, align 1
5606; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %148 = load <27 x i1>, ptr undef, align 1
5607; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %149 = load <28 x i1>, ptr undef, align 1
5608; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %150 = load <29 x i1>, ptr undef, align 1
5609; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %151 = load <30 x i1>, ptr undef, align 1
5610; SSE41-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %152 = load <31 x i1>, ptr undef, align 1
5611; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %153 = load <33 x i1>, ptr undef, align 1
5612; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %154 = load <34 x i1>, ptr undef, align 1
5613; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %155 = load <35 x i1>, ptr undef, align 1
5614; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %156 = load <36 x i1>, ptr undef, align 1
5615; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %157 = load <37 x i1>, ptr undef, align 1
5616; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %158 = load <38 x i1>, ptr undef, align 1
5617; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %159 = load <39 x i1>, ptr undef, align 1
5618; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %160 = load <40 x i1>, ptr undef, align 1
5619; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %161 = load <41 x i1>, ptr undef, align 1
5620; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %162 = load <42 x i1>, ptr undef, align 1
5621; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %163 = load <43 x i1>, ptr undef, align 1
5622; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %164 = load <44 x i1>, ptr undef, align 1
5623; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %165 = load <45 x i1>, ptr undef, align 1
5624; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %166 = load <46 x i1>, ptr undef, align 1
5625; SSE41-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %167 = load <47 x i1>, ptr undef, align 1
5626; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %168 = load <48 x i1>, ptr undef, align 1
5627; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %169 = load <49 x i1>, ptr undef, align 1
5628; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %170 = load <50 x i1>, ptr undef, align 1
5629; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %171 = load <51 x i1>, ptr undef, align 1
5630; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %172 = load <52 x i1>, ptr undef, align 1
5631; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %173 = load <53 x i1>, ptr undef, align 1
5632; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %174 = load <54 x i1>, ptr undef, align 1
5633; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %175 = load <55 x i1>, ptr undef, align 1
5634; SSE41-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %176 = load <56 x i1>, ptr undef, align 1
5635; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %177 = load <57 x i1>, ptr undef, align 1
5636; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %178 = load <58 x i1>, ptr undef, align 1
5637; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %179 = load <59 x i1>, ptr undef, align 1
5638; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %180 = load <60 x i1>, ptr undef, align 1
5639; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %181 = load <61 x i1>, ptr undef, align 1
5640; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %182 = load <62 x i1>, ptr undef, align 1
5641; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %183 = load <63 x i1>, ptr undef, align 1
5642; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
5643;
5644; AVX-LABEL: 'loads_partial_align1'
5645; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 1
5646; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %2 = load <3 x i64>, ptr undef, align 1
5647; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %3 = load <5 x i64>, ptr undef, align 1
5648; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %4 = load <6 x i64>, ptr undef, align 1
5649; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %5 = load <7 x i64>, ptr undef, align 1
5650; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 1
5651; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %7 = load <3 x double>, ptr undef, align 1
5652; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %8 = load <5 x double>, ptr undef, align 1
5653; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %9 = load <6 x double>, ptr undef, align 1
5654; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %10 = load <7 x double>, ptr undef, align 1
5655; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 1
5656; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 1
5657; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %13 = load <3 x i32>, ptr undef, align 1
5658; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %14 = load <5 x i32>, ptr undef, align 1
5659; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %15 = load <6 x i32>, ptr undef, align 1
5660; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %16 = load <7 x i32>, ptr undef, align 1
5661; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <9 x i32>, ptr undef, align 1
5662; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %18 = load <10 x i32>, ptr undef, align 1
5663; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %19 = load <11 x i32>, ptr undef, align 1
5664; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %20 = load <12 x i32>, ptr undef, align 1
5665; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %21 = load <13 x i32>, ptr undef, align 1
5666; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %22 = load <14 x i32>, ptr undef, align 1
5667; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %23 = load <15 x i32>, ptr undef, align 1
5668; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 1
5669; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 1
5670; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %26 = load <3 x float>, ptr undef, align 1
5671; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %27 = load <5 x float>, ptr undef, align 1
5672; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %28 = load <6 x float>, ptr undef, align 1
5673; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %29 = load <7 x float>, ptr undef, align 1
5674; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %30 = load <9 x float>, ptr undef, align 1
5675; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %31 = load <10 x float>, ptr undef, align 1
5676; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <11 x float>, ptr undef, align 1
5677; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %33 = load <12 x float>, ptr undef, align 1
5678; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %34 = load <13 x float>, ptr undef, align 1
5679; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %35 = load <14 x float>, ptr undef, align 1
5680; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %36 = load <15 x float>, ptr undef, align 1
5681; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 1
5682; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 1
5683; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <3 x i16>, ptr undef, align 1
5684; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 1
5685; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <5 x i16>, ptr undef, align 1
5686; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %42 = load <6 x i16>, ptr undef, align 1
5687; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %43 = load <7 x i16>, ptr undef, align 1
5688; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %44 = load <9 x i16>, ptr undef, align 1
5689; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <10 x i16>, ptr undef, align 1
5690; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %46 = load <11 x i16>, ptr undef, align 1
5691; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %47 = load <12 x i16>, ptr undef, align 1
5692; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %48 = load <13 x i16>, ptr undef, align 1
5693; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %49 = load <14 x i16>, ptr undef, align 1
5694; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %50 = load <15 x i16>, ptr undef, align 1
5695; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %51 = load <17 x i16>, ptr undef, align 1
5696; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %52 = load <18 x i16>, ptr undef, align 1
5697; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %53 = load <19 x i16>, ptr undef, align 1
5698; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %54 = load <20 x i16>, ptr undef, align 1
5699; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %55 = load <21 x i16>, ptr undef, align 1
5700; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %56 = load <22 x i16>, ptr undef, align 1
5701; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %57 = load <23 x i16>, ptr undef, align 1
5702; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %58 = load <24 x i16>, ptr undef, align 1
5703; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %59 = load <25 x i16>, ptr undef, align 1
5704; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %60 = load <26 x i16>, ptr undef, align 1
5705; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %61 = load <27 x i16>, ptr undef, align 1
5706; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %62 = load <28 x i16>, ptr undef, align 1
5707; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %63 = load <29 x i16>, ptr undef, align 1
5708; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %64 = load <30 x i16>, ptr undef, align 1
5709; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %65 = load <31 x i16>, ptr undef, align 1
5710; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 1
5711; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %67 = load <2 x i8>, ptr undef, align 1
5712; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %68 = load <3 x i8>, ptr undef, align 1
5713; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 1
5714; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %70 = load <5 x i8>, ptr undef, align 1
5715; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %71 = load <6 x i8>, ptr undef, align 1
5716; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %72 = load <7 x i8>, ptr undef, align 1
5717; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 1
5718; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %74 = load <9 x i8>, ptr undef, align 1
5719; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %75 = load <10 x i8>, ptr undef, align 1
5720; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %76 = load <11 x i8>, ptr undef, align 1
5721; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %77 = load <12 x i8>, ptr undef, align 1
5722; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %78 = load <13 x i8>, ptr undef, align 1
5723; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %79 = load <14 x i8>, ptr undef, align 1
5724; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %80 = load <15 x i8>, ptr undef, align 1
5725; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %81 = load <17 x i8>, ptr undef, align 1
5726; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %82 = load <18 x i8>, ptr undef, align 1
5727; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %83 = load <19 x i8>, ptr undef, align 1
5728; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %84 = load <20 x i8>, ptr undef, align 1
5729; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %85 = load <21 x i8>, ptr undef, align 1
5730; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %86 = load <22 x i8>, ptr undef, align 1
5731; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %87 = load <23 x i8>, ptr undef, align 1
5732; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %88 = load <24 x i8>, ptr undef, align 1
5733; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %89 = load <25 x i8>, ptr undef, align 1
5734; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %90 = load <26 x i8>, ptr undef, align 1
5735; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %91 = load <27 x i8>, ptr undef, align 1
5736; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %92 = load <28 x i8>, ptr undef, align 1
5737; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %93 = load <29 x i8>, ptr undef, align 1
5738; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %94 = load <30 x i8>, ptr undef, align 1
5739; AVX-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %95 = load <31 x i8>, ptr undef, align 1
5740; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %96 = load <33 x i8>, ptr undef, align 1
5741; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %97 = load <34 x i8>, ptr undef, align 1
5742; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %98 = load <35 x i8>, ptr undef, align 1
5743; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %99 = load <36 x i8>, ptr undef, align 1
5744; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %100 = load <37 x i8>, ptr undef, align 1
5745; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %101 = load <38 x i8>, ptr undef, align 1
5746; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %102 = load <39 x i8>, ptr undef, align 1
5747; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %103 = load <40 x i8>, ptr undef, align 1
5748; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %104 = load <41 x i8>, ptr undef, align 1
5749; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %105 = load <42 x i8>, ptr undef, align 1
5750; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %106 = load <43 x i8>, ptr undef, align 1
5751; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %107 = load <44 x i8>, ptr undef, align 1
5752; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %108 = load <45 x i8>, ptr undef, align 1
5753; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %109 = load <46 x i8>, ptr undef, align 1
5754; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %110 = load <47 x i8>, ptr undef, align 1
5755; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %111 = load <48 x i8>, ptr undef, align 1
5756; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %112 = load <49 x i8>, ptr undef, align 1
5757; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %113 = load <50 x i8>, ptr undef, align 1
5758; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %114 = load <51 x i8>, ptr undef, align 1
5759; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %115 = load <52 x i8>, ptr undef, align 1
5760; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %116 = load <53 x i8>, ptr undef, align 1
5761; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %117 = load <54 x i8>, ptr undef, align 1
5762; AVX-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %118 = load <55 x i8>, ptr undef, align 1
5763; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %119 = load <56 x i8>, ptr undef, align 1
5764; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %120 = load <57 x i8>, ptr undef, align 1
5765; AVX-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %121 = load <58 x i8>, ptr undef, align 1
5766; AVX-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %122 = load <59 x i8>, ptr undef, align 1
5767; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %123 = load <60 x i8>, ptr undef, align 1
5768; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %124 = load <61 x i8>, ptr undef, align 1
5769; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %125 = load <62 x i8>, ptr undef, align 1
5770; AVX-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: %126 = load <63 x i8>, ptr undef, align 1
5771; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %127 = load <3 x i1>, ptr undef, align 1
5772; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %128 = load <5 x i1>, ptr undef, align 1
5773; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %129 = load <6 x i1>, ptr undef, align 1
5774; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %130 = load <7 x i1>, ptr undef, align 1
5775; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %131 = load <9 x i1>, ptr undef, align 1
5776; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %132 = load <10 x i1>, ptr undef, align 1
5777; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %133 = load <11 x i1>, ptr undef, align 1
5778; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %134 = load <12 x i1>, ptr undef, align 1
5779; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %135 = load <13 x i1>, ptr undef, align 1
5780; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %136 = load <14 x i1>, ptr undef, align 1
5781; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %137 = load <15 x i1>, ptr undef, align 1
5782; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %138 = load <17 x i1>, ptr undef, align 1
5783; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %139 = load <18 x i1>, ptr undef, align 1
5784; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %140 = load <19 x i1>, ptr undef, align 1
5785; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %141 = load <20 x i1>, ptr undef, align 1
5786; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %142 = load <21 x i1>, ptr undef, align 1
5787; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %143 = load <22 x i1>, ptr undef, align 1
5788; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %144 = load <23 x i1>, ptr undef, align 1
5789; AVX-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %145 = load <24 x i1>, ptr undef, align 1
5790; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %146 = load <25 x i1>, ptr undef, align 1
5791; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %147 = load <26 x i1>, ptr undef, align 1
5792; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %148 = load <27 x i1>, ptr undef, align 1
5793; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %149 = load <28 x i1>, ptr undef, align 1
5794; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %150 = load <29 x i1>, ptr undef, align 1
5795; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %151 = load <30 x i1>, ptr undef, align 1
5796; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %152 = load <31 x i1>, ptr undef, align 1
5797; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %153 = load <33 x i1>, ptr undef, align 1
5798; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %154 = load <34 x i1>, ptr undef, align 1
5799; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %155 = load <35 x i1>, ptr undef, align 1
5800; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %156 = load <36 x i1>, ptr undef, align 1
5801; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %157 = load <37 x i1>, ptr undef, align 1
5802; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %158 = load <38 x i1>, ptr undef, align 1
5803; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %159 = load <39 x i1>, ptr undef, align 1
5804; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %160 = load <40 x i1>, ptr undef, align 1
5805; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %161 = load <41 x i1>, ptr undef, align 1
5806; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %162 = load <42 x i1>, ptr undef, align 1
5807; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %163 = load <43 x i1>, ptr undef, align 1
5808; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %164 = load <44 x i1>, ptr undef, align 1
5809; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %165 = load <45 x i1>, ptr undef, align 1
5810; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %166 = load <46 x i1>, ptr undef, align 1
5811; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %167 = load <47 x i1>, ptr undef, align 1
5812; AVX-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %168 = load <48 x i1>, ptr undef, align 1
5813; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %169 = load <49 x i1>, ptr undef, align 1
5814; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %170 = load <50 x i1>, ptr undef, align 1
5815; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %171 = load <51 x i1>, ptr undef, align 1
5816; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %172 = load <52 x i1>, ptr undef, align 1
5817; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %173 = load <53 x i1>, ptr undef, align 1
5818; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %174 = load <54 x i1>, ptr undef, align 1
5819; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %175 = load <55 x i1>, ptr undef, align 1
5820; AVX-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %176 = load <56 x i1>, ptr undef, align 1
5821; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %177 = load <57 x i1>, ptr undef, align 1
5822; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %178 = load <58 x i1>, ptr undef, align 1
5823; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %179 = load <59 x i1>, ptr undef, align 1
5824; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %180 = load <60 x i1>, ptr undef, align 1
5825; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %181 = load <61 x i1>, ptr undef, align 1
5826; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %182 = load <62 x i1>, ptr undef, align 1
5827; AVX-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %183 = load <63 x i1>, ptr undef, align 1
5828; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
5829;
5830; AVX512-LABEL: 'loads_partial_align1'
5831; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 1
5832; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %2 = load <3 x i64>, ptr undef, align 1
5833; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %3 = load <5 x i64>, ptr undef, align 1
5834; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %4 = load <6 x i64>, ptr undef, align 1
5835; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %5 = load <7 x i64>, ptr undef, align 1
5836; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 1
5837; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %7 = load <3 x double>, ptr undef, align 1
5838; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %8 = load <5 x double>, ptr undef, align 1
5839; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %9 = load <6 x double>, ptr undef, align 1
5840; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %10 = load <7 x double>, ptr undef, align 1
5841; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 1
5842; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 1
5843; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %13 = load <3 x i32>, ptr undef, align 1
5844; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %14 = load <5 x i32>, ptr undef, align 1
5845; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %15 = load <6 x i32>, ptr undef, align 1
5846; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %16 = load <7 x i32>, ptr undef, align 1
5847; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %17 = load <9 x i32>, ptr undef, align 1
5848; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %18 = load <10 x i32>, ptr undef, align 1
5849; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %19 = load <11 x i32>, ptr undef, align 1
5850; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %20 = load <12 x i32>, ptr undef, align 1
5851; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %21 = load <13 x i32>, ptr undef, align 1
5852; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %22 = load <14 x i32>, ptr undef, align 1
5853; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %23 = load <15 x i32>, ptr undef, align 1
5854; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 1
5855; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 1
5856; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %26 = load <3 x float>, ptr undef, align 1
5857; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %27 = load <5 x float>, ptr undef, align 1
5858; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %28 = load <6 x float>, ptr undef, align 1
5859; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %29 = load <7 x float>, ptr undef, align 1
5860; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %30 = load <9 x float>, ptr undef, align 1
5861; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %31 = load <10 x float>, ptr undef, align 1
5862; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %32 = load <11 x float>, ptr undef, align 1
5863; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %33 = load <12 x float>, ptr undef, align 1
5864; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %34 = load <13 x float>, ptr undef, align 1
5865; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %35 = load <14 x float>, ptr undef, align 1
5866; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %36 = load <15 x float>, ptr undef, align 1
5867; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 1
5868; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 1
5869; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <3 x i16>, ptr undef, align 1
5870; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 1
5871; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <5 x i16>, ptr undef, align 1
5872; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %42 = load <6 x i16>, ptr undef, align 1
5873; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %43 = load <7 x i16>, ptr undef, align 1
5874; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %44 = load <9 x i16>, ptr undef, align 1
5875; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <10 x i16>, ptr undef, align 1
5876; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %46 = load <11 x i16>, ptr undef, align 1
5877; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %47 = load <12 x i16>, ptr undef, align 1
5878; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %48 = load <13 x i16>, ptr undef, align 1
5879; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %49 = load <14 x i16>, ptr undef, align 1
5880; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %50 = load <15 x i16>, ptr undef, align 1
5881; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %51 = load <17 x i16>, ptr undef, align 1
5882; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %52 = load <18 x i16>, ptr undef, align 1
5883; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %53 = load <19 x i16>, ptr undef, align 1
5884; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %54 = load <20 x i16>, ptr undef, align 1
5885; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %55 = load <21 x i16>, ptr undef, align 1
5886; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %56 = load <22 x i16>, ptr undef, align 1
5887; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %57 = load <23 x i16>, ptr undef, align 1
5888; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %58 = load <24 x i16>, ptr undef, align 1
5889; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %59 = load <25 x i16>, ptr undef, align 1
5890; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %60 = load <26 x i16>, ptr undef, align 1
5891; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %61 = load <27 x i16>, ptr undef, align 1
5892; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %62 = load <28 x i16>, ptr undef, align 1
5893; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %63 = load <29 x i16>, ptr undef, align 1
5894; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %64 = load <30 x i16>, ptr undef, align 1
5895; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %65 = load <31 x i16>, ptr undef, align 1
5896; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 1
5897; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %67 = load <2 x i8>, ptr undef, align 1
5898; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %68 = load <3 x i8>, ptr undef, align 1
5899; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 1
5900; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %70 = load <5 x i8>, ptr undef, align 1
5901; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %71 = load <6 x i8>, ptr undef, align 1
5902; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %72 = load <7 x i8>, ptr undef, align 1
5903; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 1
5904; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %74 = load <9 x i8>, ptr undef, align 1
5905; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %75 = load <10 x i8>, ptr undef, align 1
5906; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %76 = load <11 x i8>, ptr undef, align 1
5907; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %77 = load <12 x i8>, ptr undef, align 1
5908; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %78 = load <13 x i8>, ptr undef, align 1
5909; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %79 = load <14 x i8>, ptr undef, align 1
5910; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %80 = load <15 x i8>, ptr undef, align 1
5911; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %81 = load <17 x i8>, ptr undef, align 1
5912; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %82 = load <18 x i8>, ptr undef, align 1
5913; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %83 = load <19 x i8>, ptr undef, align 1
5914; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %84 = load <20 x i8>, ptr undef, align 1
5915; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %85 = load <21 x i8>, ptr undef, align 1
5916; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %86 = load <22 x i8>, ptr undef, align 1
5917; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %87 = load <23 x i8>, ptr undef, align 1
5918; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %88 = load <24 x i8>, ptr undef, align 1
5919; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %89 = load <25 x i8>, ptr undef, align 1
5920; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %90 = load <26 x i8>, ptr undef, align 1
5921; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %91 = load <27 x i8>, ptr undef, align 1
5922; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %92 = load <28 x i8>, ptr undef, align 1
5923; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %93 = load <29 x i8>, ptr undef, align 1
5924; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %94 = load <30 x i8>, ptr undef, align 1
5925; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %95 = load <31 x i8>, ptr undef, align 1
5926; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %96 = load <33 x i8>, ptr undef, align 1
5927; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %97 = load <34 x i8>, ptr undef, align 1
5928; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %98 = load <35 x i8>, ptr undef, align 1
5929; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %99 = load <36 x i8>, ptr undef, align 1
5930; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %100 = load <37 x i8>, ptr undef, align 1
5931; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %101 = load <38 x i8>, ptr undef, align 1
5932; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %102 = load <39 x i8>, ptr undef, align 1
5933; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %103 = load <40 x i8>, ptr undef, align 1
5934; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %104 = load <41 x i8>, ptr undef, align 1
5935; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %105 = load <42 x i8>, ptr undef, align 1
5936; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %106 = load <43 x i8>, ptr undef, align 1
5937; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %107 = load <44 x i8>, ptr undef, align 1
5938; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %108 = load <45 x i8>, ptr undef, align 1
5939; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %109 = load <46 x i8>, ptr undef, align 1
5940; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %110 = load <47 x i8>, ptr undef, align 1
5941; AVX512-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %111 = load <48 x i8>, ptr undef, align 1
5942; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %112 = load <49 x i8>, ptr undef, align 1
5943; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %113 = load <50 x i8>, ptr undef, align 1
5944; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %114 = load <51 x i8>, ptr undef, align 1
5945; AVX512-NEXT:  Cost Model: Found an estimated cost of 6 for instruction: %115 = load <52 x i8>, ptr undef, align 1
5946; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %116 = load <53 x i8>, ptr undef, align 1
5947; AVX512-NEXT:  Cost Model: Found an estimated cost of 9 for instruction: %117 = load <54 x i8>, ptr undef, align 1
5948; AVX512-NEXT:  Cost Model: Found an estimated cost of 12 for instruction: %118 = load <55 x i8>, ptr undef, align 1
5949; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %119 = load <56 x i8>, ptr undef, align 1
5950; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %120 = load <57 x i8>, ptr undef, align 1
5951; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %121 = load <58 x i8>, ptr undef, align 1
5952; AVX512-NEXT:  Cost Model: Found an estimated cost of 11 for instruction: %122 = load <59 x i8>, ptr undef, align 1
5953; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %123 = load <60 x i8>, ptr undef, align 1
5954; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %124 = load <61 x i8>, ptr undef, align 1
5955; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %125 = load <62 x i8>, ptr undef, align 1
5956; AVX512-NEXT:  Cost Model: Found an estimated cost of 13 for instruction: %126 = load <63 x i8>, ptr undef, align 1
5957; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %127 = load <3 x i1>, ptr undef, align 1
5958; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %128 = load <5 x i1>, ptr undef, align 1
5959; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %129 = load <6 x i1>, ptr undef, align 1
5960; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %130 = load <7 x i1>, ptr undef, align 1
5961; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %131 = load <9 x i1>, ptr undef, align 1
5962; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %132 = load <10 x i1>, ptr undef, align 1
5963; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %133 = load <11 x i1>, ptr undef, align 1
5964; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %134 = load <12 x i1>, ptr undef, align 1
5965; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %135 = load <13 x i1>, ptr undef, align 1
5966; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %136 = load <14 x i1>, ptr undef, align 1
5967; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %137 = load <15 x i1>, ptr undef, align 1
5968; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %138 = load <17 x i1>, ptr undef, align 1
5969; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %139 = load <18 x i1>, ptr undef, align 1
5970; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %140 = load <19 x i1>, ptr undef, align 1
5971; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %141 = load <20 x i1>, ptr undef, align 1
5972; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %142 = load <21 x i1>, ptr undef, align 1
5973; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %143 = load <22 x i1>, ptr undef, align 1
5974; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %144 = load <23 x i1>, ptr undef, align 1
5975; AVX512-NEXT:  Cost Model: Found an estimated cost of 5 for instruction: %145 = load <24 x i1>, ptr undef, align 1
5976; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %146 = load <25 x i1>, ptr undef, align 1
5977; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %147 = load <26 x i1>, ptr undef, align 1
5978; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %148 = load <27 x i1>, ptr undef, align 1
5979; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %149 = load <28 x i1>, ptr undef, align 1
5980; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %150 = load <29 x i1>, ptr undef, align 1
5981; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %151 = load <30 x i1>, ptr undef, align 1
5982; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %152 = load <31 x i1>, ptr undef, align 1
5983; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %153 = load <33 x i1>, ptr undef, align 1
5984; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %154 = load <34 x i1>, ptr undef, align 1
5985; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %155 = load <35 x i1>, ptr undef, align 1
5986; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %156 = load <36 x i1>, ptr undef, align 1
5987; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %157 = load <37 x i1>, ptr undef, align 1
5988; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %158 = load <38 x i1>, ptr undef, align 1
5989; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %159 = load <39 x i1>, ptr undef, align 1
5990; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %160 = load <40 x i1>, ptr undef, align 1
5991; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %161 = load <41 x i1>, ptr undef, align 1
5992; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %162 = load <42 x i1>, ptr undef, align 1
5993; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %163 = load <43 x i1>, ptr undef, align 1
5994; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %164 = load <44 x i1>, ptr undef, align 1
5995; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %165 = load <45 x i1>, ptr undef, align 1
5996; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %166 = load <46 x i1>, ptr undef, align 1
5997; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %167 = load <47 x i1>, ptr undef, align 1
5998; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %168 = load <48 x i1>, ptr undef, align 1
5999; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %169 = load <49 x i1>, ptr undef, align 1
6000; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %170 = load <50 x i1>, ptr undef, align 1
6001; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %171 = load <51 x i1>, ptr undef, align 1
6002; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %172 = load <52 x i1>, ptr undef, align 1
6003; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %173 = load <53 x i1>, ptr undef, align 1
6004; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %174 = load <54 x i1>, ptr undef, align 1
6005; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %175 = load <55 x i1>, ptr undef, align 1
6006; AVX512-NEXT:  Cost Model: Found an estimated cost of 7 for instruction: %176 = load <56 x i1>, ptr undef, align 1
6007; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %177 = load <57 x i1>, ptr undef, align 1
6008; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %178 = load <58 x i1>, ptr undef, align 1
6009; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %179 = load <59 x i1>, ptr undef, align 1
6010; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %180 = load <60 x i1>, ptr undef, align 1
6011; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %181 = load <61 x i1>, ptr undef, align 1
6012; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %182 = load <62 x i1>, ptr undef, align 1
6013; AVX512-NEXT:  Cost Model: Found an estimated cost of 10 for instruction: %183 = load <63 x i1>, ptr undef, align 1
6014; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
6015;
6016  load <1 x i64>, ptr undef, align 1
6017  ; <2 x i64> is XMM
6018  load <3 x i64>, ptr undef, align 1
6019  ; <4 x i64> is YMM
6020  load <5 x i64>, ptr undef, align 1
6021  load <6 x i64>, ptr undef, align 1
6022  load <7 x i64>, ptr undef, align 1
6023  ; <8 x i64> is ZMM
6024
6025  ; Partial vectors with double elements
6026  load <1 x double>, ptr undef, align 1
6027  ; <2 x double> is XMM
6028  load <3 x double>, ptr undef, align 1
6029  ; <4 x double> is YMM
6030  load <5 x double>, ptr undef, align 1
6031  load <6 x double>, ptr undef, align 1
6032  load <7 x double>, ptr undef, align 1
6033  ; <8 x double> is ZMM
6034
6035  ; Partial vectors with i32 elements
6036  load <1 x i32>, ptr undef, align 1
6037  load <2 x i32>, ptr undef, align 1
6038  load <3 x i32>, ptr undef, align 1
6039  ; <4 x i32> is XMM
6040  load <5 x i32>, ptr undef, align 1
6041  load <6 x i32>, ptr undef, align 1
6042  load <7 x i32>, ptr undef, align 1
6043  ; <8 x i32> is YMM
6044  load <9 x i32>, ptr undef, align 1
6045  load <10 x i32>, ptr undef, align 1
6046  load <11 x i32>, ptr undef, align 1
6047  load <12 x i32>, ptr undef, align 1
6048  load <13 x i32>, ptr undef, align 1
6049  load <14 x i32>, ptr undef, align 1
6050  load <15 x i32>, ptr undef, align 1
6051  ; <16 x i32> is ZMM
6052
6053  ; Partial vectors with float elements
6054  load <1 x float>, ptr undef, align 1
6055  load <2 x float>, ptr undef, align 1
6056  load <3 x float>, ptr undef, align 1
6057  ; <4 x float> is XMM
6058  load <5 x float>, ptr undef, align 1
6059  load <6 x float>, ptr undef, align 1
6060  load <7 x float>, ptr undef, align 1
6061  ; <8 x float> is YMM
6062  load <9 x float>, ptr undef, align 1
6063  load <10 x float>, ptr undef, align 1
6064  load <11 x float>, ptr undef, align 1
6065  load <12 x float>, ptr undef, align 1
6066  load <13 x float>, ptr undef, align 1
6067  load <14 x float>, ptr undef, align 1
6068  load <15 x float>, ptr undef, align 1
6069  ; <16 x float> is ZMM
6070
6071  ; Partial vectors with i16 elements
6072  load <1 x i16>, ptr undef, align 1
6073  load <2 x i16>, ptr undef, align 1
6074  load <3 x i16>, ptr undef, align 1
6075  load <4 x i16>, ptr undef, align 1
6076  load <5 x i16>, ptr undef, align 1
6077  load <6 x i16>, ptr undef, align 1
6078  load <7 x i16>, ptr undef, align 1
6079  ; <8 x i16> is XMM
6080  load <9 x i16>, ptr undef, align 1
6081  load <10 x i16>, ptr undef, align 1
6082  load <11 x i16>, ptr undef, align 1
6083  load <12 x i16>, ptr undef, align 1
6084  load <13 x i16>, ptr undef, align 1
6085  load <14 x i16>, ptr undef, align 1
6086  load <15 x i16>, ptr undef, align 1
6087  ; <16 x i16> is YMM
6088  load <17 x i16>, ptr undef, align 1
6089  load <18 x i16>, ptr undef, align 1
6090  load <19 x i16>, ptr undef, align 1
6091  load <20 x i16>, ptr undef, align 1
6092  load <21 x i16>, ptr undef, align 1
6093  load <22 x i16>, ptr undef, align 1
6094  load <23 x i16>, ptr undef, align 1
6095  load <24 x i16>, ptr undef, align 1
6096  load <25 x i16>, ptr undef, align 1
6097  load <26 x i16>, ptr undef, align 1
6098  load <27 x i16>, ptr undef, align 1
6099  load <28 x i16>, ptr undef, align 1
6100  load <29 x i16>, ptr undef, align 1
6101  load <30 x i16>, ptr undef, align 1
6102  load <31 x i16>, ptr undef, align 1
6103  ; <32 x i16> is ZMM
6104
6105  ; Partial vectors with i8 elements
6106  load <1 x i8>, ptr undef, align 1
6107  load <2 x i8>, ptr undef, align 1
6108  load <3 x i8>, ptr undef, align 1
6109  load <4 x i8>, ptr undef, align 1
6110  load <5 x i8>, ptr undef, align 1
6111  load <6 x i8>, ptr undef, align 1
6112  load <7 x i8>, ptr undef, align 1
6113  load <8 x i8>, ptr undef, align 1
6114  load <9 x i8>, ptr undef, align 1
6115  load <10 x i8>, ptr undef, align 1
6116  load <11 x i8>, ptr undef, align 1
6117  load <12 x i8>, ptr undef, align 1
6118  load <13 x i8>, ptr undef, align 1
6119  load <14 x i8>, ptr undef, align 1
6120  load <15 x i8>, ptr undef, align 1
6121  ; <16 x i8> is XMM
6122  load <17 x i8>, ptr undef, align 1
6123  load <18 x i8>, ptr undef, align 1
6124  load <19 x i8>, ptr undef, align 1
6125  load <20 x i8>, ptr undef, align 1
6126  load <21 x i8>, ptr undef, align 1
6127  load <22 x i8>, ptr undef, align 1
6128  load <23 x i8>, ptr undef, align 1
6129  load <24 x i8>, ptr undef, align 1
6130  load <25 x i8>, ptr undef, align 1
6131  load <26 x i8>, ptr undef, align 1
6132  load <27 x i8>, ptr undef, align 1
6133  load <28 x i8>, ptr undef, align 1
6134  load <29 x i8>, ptr undef, align 1
6135  load <30 x i8>, ptr undef, align 1
6136  load <31 x i8>, ptr undef, align 1
6137  ; <32 x i8> is YMM
6138  load <33 x i8>, ptr undef, align 1
6139  load <34 x i8>, ptr undef, align 1
6140  load <35 x i8>, ptr undef, align 1
6141  load <36 x i8>, ptr undef, align 1
6142  load <37 x i8>, ptr undef, align 1
6143  load <38 x i8>, ptr undef, align 1
6144  load <39 x i8>, ptr undef, align 1
6145  load <40 x i8>, ptr undef, align 1
6146  load <41 x i8>, ptr undef, align 1
6147  load <42 x i8>, ptr undef, align 1
6148  load <43 x i8>, ptr undef, align 1
6149  load <44 x i8>, ptr undef, align 1
6150  load <45 x i8>, ptr undef, align 1
6151  load <46 x i8>, ptr undef, align 1
6152  load <47 x i8>, ptr undef, align 1
6153  load <48 x i8>, ptr undef, align 1
6154  load <49 x i8>, ptr undef, align 1
6155  load <50 x i8>, ptr undef, align 1
6156  load <51 x i8>, ptr undef, align 1
6157  load <52 x i8>, ptr undef, align 1
6158  load <53 x i8>, ptr undef, align 1
6159  load <54 x i8>, ptr undef, align 1
6160  load <55 x i8>, ptr undef, align 1
6161  load <56 x i8>, ptr undef, align 1
6162  load <57 x i8>, ptr undef, align 1
6163  load <58 x i8>, ptr undef, align 1
6164  load <59 x i8>, ptr undef, align 1
6165  load <60 x i8>, ptr undef, align 1
6166  load <61 x i8>, ptr undef, align 1
6167  load <62 x i8>, ptr undef, align 1
6168  load <63 x i8>, ptr undef, align 1
6169  ; <64 x i8> is ZMM
6170
6171  ; Partial vectors with i1 elements
6172  ; <1 x i1> is XMM
6173  ; <2 x i1> is XMM
6174  load <3 x i1>, ptr undef, align 1
6175  ; <4 x i1> is XMM
6176  load <5 x i1>, ptr undef, align 1
6177  load <6 x i1>, ptr undef, align 1
6178  load <7 x i1>, ptr undef, align 1
6179  ; <8 x i1> is XMM
6180  load <9 x i1>, ptr undef, align 1
6181  load <10 x i1>, ptr undef, align 1
6182  load <11 x i1>, ptr undef, align 1
6183  load <12 x i1>, ptr undef, align 1
6184  load <13 x i1>, ptr undef, align 1
6185  load <14 x i1>, ptr undef, align 1
6186  load <15 x i1>, ptr undef, align 1
6187  ; <16 x i1> is XMM
6188  load <17 x i1>, ptr undef, align 1
6189  load <18 x i1>, ptr undef, align 1
6190  load <19 x i1>, ptr undef, align 1
6191  load <20 x i1>, ptr undef, align 1
6192  load <21 x i1>, ptr undef, align 1
6193  load <22 x i1>, ptr undef, align 1
6194  load <23 x i1>, ptr undef, align 1
6195  load <24 x i1>, ptr undef, align 1
6196  load <25 x i1>, ptr undef, align 1
6197  load <26 x i1>, ptr undef, align 1
6198  load <27 x i1>, ptr undef, align 1
6199  load <28 x i1>, ptr undef, align 1
6200  load <29 x i1>, ptr undef, align 1
6201  load <30 x i1>, ptr undef, align 1
6202  load <31 x i1>, ptr undef, align 1
6203  ; <32 x i1> is YMM
6204  load <33 x i1>, ptr undef, align 1
6205  load <34 x i1>, ptr undef, align 1
6206  load <35 x i1>, ptr undef, align 1
6207  load <36 x i1>, ptr undef, align 1
6208  load <37 x i1>, ptr undef, align 1
6209  load <38 x i1>, ptr undef, align 1
6210  load <39 x i1>, ptr undef, align 1
6211  load <40 x i1>, ptr undef, align 1
6212  load <41 x i1>, ptr undef, align 1
6213  load <42 x i1>, ptr undef, align 1
6214  load <43 x i1>, ptr undef, align 1
6215  load <44 x i1>, ptr undef, align 1
6216  load <45 x i1>, ptr undef, align 1
6217  load <46 x i1>, ptr undef, align 1
6218  load <47 x i1>, ptr undef, align 1
6219  load <48 x i1>, ptr undef, align 1
6220  load <49 x i1>, ptr undef, align 1
6221  load <50 x i1>, ptr undef, align 1
6222  load <51 x i1>, ptr undef, align 1
6223  load <52 x i1>, ptr undef, align 1
6224  load <53 x i1>, ptr undef, align 1
6225  load <54 x i1>, ptr undef, align 1
6226  load <55 x i1>, ptr undef, align 1
6227  load <56 x i1>, ptr undef, align 1
6228  load <57 x i1>, ptr undef, align 1
6229  load <58 x i1>, ptr undef, align 1
6230  load <59 x i1>, ptr undef, align 1
6231  load <60 x i1>, ptr undef, align 1
6232  load <61 x i1>, ptr undef, align 1
6233  load <62 x i1>, ptr undef, align 1
6234  load <63 x i1>, ptr undef, align 1
6235  ; <64 x i1> is ZMM
6236
6237  ret i32 undef
6238}
6239
6240define i32 @loads_align64(i32 %arg) {
6241  ; Scalars
6242; SSE2-LABEL: 'loads_align64'
6243; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 64
6244; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 64
6245; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 64
6246; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 64
6247; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 64
6248; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 64
6249; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 64
6250; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 64
6251; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 64
6252; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 64
6253; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 64
6254; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <128 x i1>, ptr undef, align 64
6255; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 64
6256; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 64
6257; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 64
6258; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 64
6259; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 64
6260; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 64
6261; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 64
6262; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 64
6263; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %21 = load <16 x i1>, ptr undef, align 64
6264; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %22 = load <8 x i1>, ptr undef, align 64
6265; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %23 = load <4 x i1>, ptr undef, align 64
6266; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <2 x i1>, ptr undef, align 64
6267; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <1 x i1>, ptr undef, align 64
6268; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %26 = load <256 x i1>, ptr undef, align 64
6269; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <32 x i8>, ptr undef, align 64
6270; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <16 x i16>, ptr undef, align 64
6271; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %29 = load <8 x i32>, ptr undef, align 64
6272; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %30 = load <4 x i64>, ptr undef, align 64
6273; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 64
6274; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 64
6275; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %33 = load <8 x float>, ptr undef, align 64
6276; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %34 = load <4 x double>, ptr undef, align 64
6277; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %35 = load <4 x ptr>, ptr undef, align 64
6278; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 64
6279; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %37 = load <512 x i1>, ptr undef, align 64
6280; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %38 = load <64 x i8>, ptr undef, align 64
6281; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <32 x i16>, ptr undef, align 64
6282; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %40 = load <16 x i32>, ptr undef, align 64
6283; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <8 x i64>, ptr undef, align 64
6284; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 64
6285; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 64
6286; SSE2-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 64
6287; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <16 x float>, ptr undef, align 64
6288; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %46 = load <8 x double>, ptr undef, align 64
6289; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %47 = load <8 x ptr>, ptr undef, align 64
6290; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 64
6291; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
6292;
6293; SSE41-LABEL: 'loads_align64'
6294; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 64
6295; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 64
6296; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 64
6297; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 64
6298; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 64
6299; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 64
6300; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 64
6301; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 64
6302; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 64
6303; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 64
6304; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 64
6305; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <128 x i1>, ptr undef, align 64
6306; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 64
6307; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 64
6308; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 64
6309; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 64
6310; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 64
6311; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 64
6312; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 64
6313; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 64
6314; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %21 = load <16 x i1>, ptr undef, align 64
6315; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %22 = load <8 x i1>, ptr undef, align 64
6316; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %23 = load <4 x i1>, ptr undef, align 64
6317; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <2 x i1>, ptr undef, align 64
6318; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <1 x i1>, ptr undef, align 64
6319; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %26 = load <256 x i1>, ptr undef, align 64
6320; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <32 x i8>, ptr undef, align 64
6321; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <16 x i16>, ptr undef, align 64
6322; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %29 = load <8 x i32>, ptr undef, align 64
6323; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %30 = load <4 x i64>, ptr undef, align 64
6324; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 64
6325; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 64
6326; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %33 = load <8 x float>, ptr undef, align 64
6327; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %34 = load <4 x double>, ptr undef, align 64
6328; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %35 = load <4 x ptr>, ptr undef, align 64
6329; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 64
6330; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %37 = load <512 x i1>, ptr undef, align 64
6331; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %38 = load <64 x i8>, ptr undef, align 64
6332; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %39 = load <32 x i16>, ptr undef, align 64
6333; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %40 = load <16 x i32>, ptr undef, align 64
6334; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %41 = load <8 x i64>, ptr undef, align 64
6335; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 64
6336; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 64
6337; SSE41-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 64
6338; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %45 = load <16 x float>, ptr undef, align 64
6339; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %46 = load <8 x double>, ptr undef, align 64
6340; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %47 = load <8 x ptr>, ptr undef, align 64
6341; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 64
6342; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
6343;
6344; AVX-LABEL: 'loads_align64'
6345; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 64
6346; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 64
6347; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 64
6348; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 64
6349; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 64
6350; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 64
6351; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 64
6352; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 64
6353; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 64
6354; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 64
6355; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 64
6356; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <128 x i1>, ptr undef, align 64
6357; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 64
6358; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 64
6359; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 64
6360; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 64
6361; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 64
6362; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 64
6363; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 64
6364; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 64
6365; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %21 = load <16 x i1>, ptr undef, align 64
6366; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %22 = load <8 x i1>, ptr undef, align 64
6367; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %23 = load <4 x i1>, ptr undef, align 64
6368; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <2 x i1>, ptr undef, align 64
6369; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <1 x i1>, ptr undef, align 64
6370; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %26 = load <256 x i1>, ptr undef, align 64
6371; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %27 = load <32 x i8>, ptr undef, align 64
6372; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %28 = load <16 x i16>, ptr undef, align 64
6373; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %29 = load <8 x i32>, ptr undef, align 64
6374; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %30 = load <4 x i64>, ptr undef, align 64
6375; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 64
6376; AVX-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 64
6377; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %33 = load <8 x float>, ptr undef, align 64
6378; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %34 = load <4 x double>, ptr undef, align 64
6379; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %35 = load <4 x ptr>, ptr undef, align 64
6380; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 64
6381; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %37 = load <512 x i1>, ptr undef, align 64
6382; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %38 = load <64 x i8>, ptr undef, align 64
6383; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %39 = load <32 x i16>, ptr undef, align 64
6384; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %40 = load <16 x i32>, ptr undef, align 64
6385; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %41 = load <8 x i64>, ptr undef, align 64
6386; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 64
6387; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 64
6388; AVX-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 64
6389; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %45 = load <16 x float>, ptr undef, align 64
6390; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %46 = load <8 x double>, ptr undef, align 64
6391; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %47 = load <8 x ptr>, ptr undef, align 64
6392; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 64
6393; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
6394;
6395; AVX512-LABEL: 'loads_align64'
6396; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load i8, ptr undef, align 64
6397; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load i16, ptr undef, align 64
6398; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load i32, ptr undef, align 64
6399; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load i64, ptr undef, align 64
6400; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load i128, ptr undef, align 64
6401; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %6 = load i256, ptr undef, align 64
6402; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %7 = load i512, ptr undef, align 64
6403; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load float, ptr undef, align 64
6404; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load double, ptr undef, align 64
6405; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load ptr, ptr undef, align 64
6406; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load ptr, ptr undef, align 64
6407; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %12 = load <128 x i1>, ptr undef, align 64
6408; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <16 x i8>, ptr undef, align 64
6409; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <8 x i16>, ptr undef, align 64
6410; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <4 x i32>, ptr undef, align 64
6411; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <2 x i64>, ptr undef, align 64
6412; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <1 x i128>, ptr undef, align 64
6413; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <4 x float>, ptr undef, align 64
6414; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <2 x double>, ptr undef, align 64
6415; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <2 x ptr>, ptr undef, align 64
6416; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %21 = load <16 x i1>, ptr undef, align 64
6417; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %22 = load <8 x i1>, ptr undef, align 64
6418; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %23 = load <4 x i1>, ptr undef, align 64
6419; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %24 = load <2 x i1>, ptr undef, align 64
6420; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %25 = load <1 x i1>, ptr undef, align 64
6421; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %26 = load <256 x i1>, ptr undef, align 64
6422; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %27 = load <32 x i8>, ptr undef, align 64
6423; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %28 = load <16 x i16>, ptr undef, align 64
6424; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %29 = load <8 x i32>, ptr undef, align 64
6425; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %30 = load <4 x i64>, ptr undef, align 64
6426; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %31 = load <2 x i128>, ptr undef, align 64
6427; AVX512-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %32 = load <1 x i256>, ptr undef, align 64
6428; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %33 = load <8 x float>, ptr undef, align 64
6429; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %34 = load <4 x double>, ptr undef, align 64
6430; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %35 = load <4 x ptr>, ptr undef, align 64
6431; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <32 x i1>, ptr undef, align 64
6432; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %37 = load <512 x i1>, ptr undef, align 64
6433; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <64 x i8>, ptr undef, align 64
6434; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %39 = load <32 x i16>, ptr undef, align 64
6435; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <16 x i32>, ptr undef, align 64
6436; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %41 = load <8 x i64>, ptr undef, align 64
6437; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %42 = load <4 x i128>, ptr undef, align 64
6438; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %43 = load <2 x i256>, ptr undef, align 64
6439; AVX512-NEXT:  Cost Model: Found an estimated cost of 8 for instruction: %44 = load <1 x i512>, ptr undef, align 64
6440; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %45 = load <16 x float>, ptr undef, align 64
6441; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %46 = load <8 x double>, ptr undef, align 64
6442; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %47 = load <8 x ptr>, ptr undef, align 64
6443; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <64 x i1>, ptr undef, align 64
6444; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
6445;
6446  load i8, ptr undef, align 64
6447  load i16, ptr undef, align 64
6448  load i32, ptr undef, align 64
6449  load i64, ptr undef, align 64
6450  load i128, ptr undef, align 64
6451  load i256, ptr undef, align 64
6452  load i512, ptr undef, align 64
6453
6454  load float, ptr undef, align 64
6455  load double, ptr undef, align 64
6456
6457  load ptr, ptr undef, align 64
6458
6459  load ptr, ptr undef, align 64
6460
6461  ; XMM (128-bit) vectors
6462  load <128 x i1>, ptr undef, align 64
6463  load <16 x i8>, ptr undef, align 64
6464  load <8 x i16>, ptr undef, align 64
6465  load <4 x i32>, ptr undef, align 64
6466  load <2 x i64>, ptr undef, align 64
6467  load <1 x i128>, ptr undef, align 64
6468
6469  load <4 x float>, ptr undef, align 64
6470  load <2 x double>, ptr undef, align 64
6471
6472  load <2 x ptr>, ptr undef, align 64
6473
6474  load <16 x i1>, ptr undef, align 64
6475  load <8 x i1>, ptr undef, align 64
6476  load <4 x i1>, ptr undef, align 64
6477  load <2 x i1>, ptr undef, align 64
6478  load <1 x i1>, ptr undef, align 64
6479
6480  ; YMM (256-bit) vectors
6481  load <256 x i1>, ptr undef, align 64
6482  load <32 x i8>, ptr undef, align 64
6483  load <16 x i16>, ptr undef, align 64
6484  load <8 x i32>, ptr undef, align 64
6485  load <4 x i64>, ptr undef, align 64
6486  load <2 x i128>, ptr undef, align 64
6487  load <1 x i256>, ptr undef, align 64
6488
6489  load <8 x float>, ptr undef, align 64
6490  load <4 x double>, ptr undef, align 64
6491
6492  load <4 x ptr>, ptr undef, align 64
6493
6494  load <32 x i1>, ptr undef, align 64
6495
6496  ; ZMM (512-bit) vectors
6497  load <512 x i1>, ptr undef, align 64
6498  load <64 x i8>, ptr undef, align 64
6499  load <32 x i16>, ptr undef, align 64
6500  load <16 x i32>, ptr undef, align 64
6501  load <8 x i64>, ptr undef, align 64
6502  load <4 x i128>, ptr undef, align 64
6503  load <2 x i256>, ptr undef, align 64
6504  load <1 x i512>, ptr undef, align 64
6505
6506  load <16 x float>, ptr undef, align 64
6507  load <8 x double>, ptr undef, align 64
6508
6509  load <8 x ptr>, ptr undef, align 64
6510
6511  load <64 x i1>, ptr undef, align 64
6512
6513  ret i32 undef
6514}
6515
6516define i32 @loads_partial_align64(i32 %arg) {
6517  ; Partial vectors with i64 elements (doubles as pointer-sized tests))
6518; SSE2-LABEL: 'loads_partial_align64'
6519; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 64
6520; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %2 = load <3 x i64>, ptr undef, align 64
6521; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %3 = load <5 x i64>, ptr undef, align 64
6522; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %4 = load <6 x i64>, ptr undef, align 64
6523; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %5 = load <7 x i64>, ptr undef, align 64
6524; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 64
6525; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %7 = load <3 x double>, ptr undef, align 64
6526; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %8 = load <5 x double>, ptr undef, align 64
6527; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %9 = load <6 x double>, ptr undef, align 64
6528; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %10 = load <7 x double>, ptr undef, align 64
6529; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 64
6530; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 64
6531; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <3 x i32>, ptr undef, align 64
6532; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %14 = load <5 x i32>, ptr undef, align 64
6533; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %15 = load <6 x i32>, ptr undef, align 64
6534; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %16 = load <7 x i32>, ptr undef, align 64
6535; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %17 = load <9 x i32>, ptr undef, align 64
6536; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %18 = load <10 x i32>, ptr undef, align 64
6537; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %19 = load <11 x i32>, ptr undef, align 64
6538; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %20 = load <12 x i32>, ptr undef, align 64
6539; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %21 = load <13 x i32>, ptr undef, align 64
6540; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %22 = load <14 x i32>, ptr undef, align 64
6541; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %23 = load <15 x i32>, ptr undef, align 64
6542; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 64
6543; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 64
6544; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %26 = load <3 x float>, ptr undef, align 64
6545; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <5 x float>, ptr undef, align 64
6546; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <6 x float>, ptr undef, align 64
6547; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %29 = load <7 x float>, ptr undef, align 64
6548; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %30 = load <9 x float>, ptr undef, align 64
6549; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %31 = load <10 x float>, ptr undef, align 64
6550; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %32 = load <11 x float>, ptr undef, align 64
6551; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %33 = load <12 x float>, ptr undef, align 64
6552; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %34 = load <13 x float>, ptr undef, align 64
6553; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %35 = load <14 x float>, ptr undef, align 64
6554; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %36 = load <15 x float>, ptr undef, align 64
6555; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 64
6556; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 64
6557; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %39 = load <3 x i16>, ptr undef, align 64
6558; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 64
6559; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %41 = load <5 x i16>, ptr undef, align 64
6560; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %42 = load <6 x i16>, ptr undef, align 64
6561; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %43 = load <7 x i16>, ptr undef, align 64
6562; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %44 = load <9 x i16>, ptr undef, align 64
6563; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %45 = load <10 x i16>, ptr undef, align 64
6564; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %46 = load <11 x i16>, ptr undef, align 64
6565; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %47 = load <12 x i16>, ptr undef, align 64
6566; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %48 = load <13 x i16>, ptr undef, align 64
6567; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %49 = load <14 x i16>, ptr undef, align 64
6568; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %50 = load <15 x i16>, ptr undef, align 64
6569; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %51 = load <17 x i16>, ptr undef, align 64
6570; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %52 = load <18 x i16>, ptr undef, align 64
6571; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %53 = load <19 x i16>, ptr undef, align 64
6572; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %54 = load <20 x i16>, ptr undef, align 64
6573; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %55 = load <21 x i16>, ptr undef, align 64
6574; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %56 = load <22 x i16>, ptr undef, align 64
6575; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %57 = load <23 x i16>, ptr undef, align 64
6576; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %58 = load <24 x i16>, ptr undef, align 64
6577; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %59 = load <25 x i16>, ptr undef, align 64
6578; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %60 = load <26 x i16>, ptr undef, align 64
6579; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %61 = load <27 x i16>, ptr undef, align 64
6580; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %62 = load <28 x i16>, ptr undef, align 64
6581; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %63 = load <29 x i16>, ptr undef, align 64
6582; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %64 = load <30 x i16>, ptr undef, align 64
6583; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %65 = load <31 x i16>, ptr undef, align 64
6584; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 64
6585; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %67 = load <2 x i8>, ptr undef, align 64
6586; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %68 = load <3 x i8>, ptr undef, align 64
6587; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 64
6588; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %70 = load <5 x i8>, ptr undef, align 64
6589; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %71 = load <6 x i8>, ptr undef, align 64
6590; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %72 = load <7 x i8>, ptr undef, align 64
6591; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 64
6592; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %74 = load <9 x i8>, ptr undef, align 64
6593; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %75 = load <10 x i8>, ptr undef, align 64
6594; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %76 = load <11 x i8>, ptr undef, align 64
6595; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %77 = load <12 x i8>, ptr undef, align 64
6596; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %78 = load <13 x i8>, ptr undef, align 64
6597; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %79 = load <14 x i8>, ptr undef, align 64
6598; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %80 = load <15 x i8>, ptr undef, align 64
6599; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %81 = load <17 x i8>, ptr undef, align 64
6600; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %82 = load <18 x i8>, ptr undef, align 64
6601; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %83 = load <19 x i8>, ptr undef, align 64
6602; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %84 = load <20 x i8>, ptr undef, align 64
6603; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %85 = load <21 x i8>, ptr undef, align 64
6604; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %86 = load <22 x i8>, ptr undef, align 64
6605; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %87 = load <23 x i8>, ptr undef, align 64
6606; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %88 = load <24 x i8>, ptr undef, align 64
6607; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %89 = load <25 x i8>, ptr undef, align 64
6608; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %90 = load <26 x i8>, ptr undef, align 64
6609; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %91 = load <27 x i8>, ptr undef, align 64
6610; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %92 = load <28 x i8>, ptr undef, align 64
6611; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %93 = load <29 x i8>, ptr undef, align 64
6612; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %94 = load <30 x i8>, ptr undef, align 64
6613; SSE2-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %95 = load <31 x i8>, ptr undef, align 64
6614; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %96 = load <33 x i8>, ptr undef, align 64
6615; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %97 = load <34 x i8>, ptr undef, align 64
6616; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %98 = load <35 x i8>, ptr undef, align 64
6617; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %99 = load <36 x i8>, ptr undef, align 64
6618; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %100 = load <37 x i8>, ptr undef, align 64
6619; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %101 = load <38 x i8>, ptr undef, align 64
6620; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %102 = load <39 x i8>, ptr undef, align 64
6621; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %103 = load <40 x i8>, ptr undef, align 64
6622; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %104 = load <41 x i8>, ptr undef, align 64
6623; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %105 = load <42 x i8>, ptr undef, align 64
6624; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %106 = load <43 x i8>, ptr undef, align 64
6625; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %107 = load <44 x i8>, ptr undef, align 64
6626; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %108 = load <45 x i8>, ptr undef, align 64
6627; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %109 = load <46 x i8>, ptr undef, align 64
6628; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %110 = load <47 x i8>, ptr undef, align 64
6629; SSE2-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %111 = load <48 x i8>, ptr undef, align 64
6630; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %112 = load <49 x i8>, ptr undef, align 64
6631; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %113 = load <50 x i8>, ptr undef, align 64
6632; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %114 = load <51 x i8>, ptr undef, align 64
6633; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %115 = load <52 x i8>, ptr undef, align 64
6634; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %116 = load <53 x i8>, ptr undef, align 64
6635; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %117 = load <54 x i8>, ptr undef, align 64
6636; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %118 = load <55 x i8>, ptr undef, align 64
6637; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %119 = load <56 x i8>, ptr undef, align 64
6638; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %120 = load <57 x i8>, ptr undef, align 64
6639; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %121 = load <58 x i8>, ptr undef, align 64
6640; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %122 = load <59 x i8>, ptr undef, align 64
6641; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %123 = load <60 x i8>, ptr undef, align 64
6642; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %124 = load <61 x i8>, ptr undef, align 64
6643; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %125 = load <62 x i8>, ptr undef, align 64
6644; SSE2-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %126 = load <63 x i8>, ptr undef, align 64
6645; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %127 = load <3 x i1>, ptr undef, align 64
6646; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %128 = load <5 x i1>, ptr undef, align 64
6647; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %129 = load <6 x i1>, ptr undef, align 64
6648; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %130 = load <7 x i1>, ptr undef, align 64
6649; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %131 = load <9 x i1>, ptr undef, align 64
6650; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %132 = load <10 x i1>, ptr undef, align 64
6651; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %133 = load <11 x i1>, ptr undef, align 64
6652; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %134 = load <12 x i1>, ptr undef, align 64
6653; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %135 = load <13 x i1>, ptr undef, align 64
6654; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %136 = load <14 x i1>, ptr undef, align 64
6655; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %137 = load <15 x i1>, ptr undef, align 64
6656; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %138 = load <17 x i1>, ptr undef, align 64
6657; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %139 = load <18 x i1>, ptr undef, align 64
6658; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %140 = load <19 x i1>, ptr undef, align 64
6659; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %141 = load <20 x i1>, ptr undef, align 64
6660; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %142 = load <21 x i1>, ptr undef, align 64
6661; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %143 = load <22 x i1>, ptr undef, align 64
6662; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %144 = load <23 x i1>, ptr undef, align 64
6663; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %145 = load <24 x i1>, ptr undef, align 64
6664; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %146 = load <25 x i1>, ptr undef, align 64
6665; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %147 = load <26 x i1>, ptr undef, align 64
6666; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %148 = load <27 x i1>, ptr undef, align 64
6667; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %149 = load <28 x i1>, ptr undef, align 64
6668; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %150 = load <29 x i1>, ptr undef, align 64
6669; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %151 = load <30 x i1>, ptr undef, align 64
6670; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %152 = load <31 x i1>, ptr undef, align 64
6671; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %153 = load <33 x i1>, ptr undef, align 64
6672; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %154 = load <34 x i1>, ptr undef, align 64
6673; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %155 = load <35 x i1>, ptr undef, align 64
6674; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %156 = load <36 x i1>, ptr undef, align 64
6675; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %157 = load <37 x i1>, ptr undef, align 64
6676; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %158 = load <38 x i1>, ptr undef, align 64
6677; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %159 = load <39 x i1>, ptr undef, align 64
6678; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %160 = load <40 x i1>, ptr undef, align 64
6679; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %161 = load <41 x i1>, ptr undef, align 64
6680; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %162 = load <42 x i1>, ptr undef, align 64
6681; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %163 = load <43 x i1>, ptr undef, align 64
6682; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %164 = load <44 x i1>, ptr undef, align 64
6683; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %165 = load <45 x i1>, ptr undef, align 64
6684; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %166 = load <46 x i1>, ptr undef, align 64
6685; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %167 = load <47 x i1>, ptr undef, align 64
6686; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %168 = load <48 x i1>, ptr undef, align 64
6687; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %169 = load <49 x i1>, ptr undef, align 64
6688; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %170 = load <50 x i1>, ptr undef, align 64
6689; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %171 = load <51 x i1>, ptr undef, align 64
6690; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %172 = load <52 x i1>, ptr undef, align 64
6691; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %173 = load <53 x i1>, ptr undef, align 64
6692; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %174 = load <54 x i1>, ptr undef, align 64
6693; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %175 = load <55 x i1>, ptr undef, align 64
6694; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %176 = load <56 x i1>, ptr undef, align 64
6695; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %177 = load <57 x i1>, ptr undef, align 64
6696; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %178 = load <58 x i1>, ptr undef, align 64
6697; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %179 = load <59 x i1>, ptr undef, align 64
6698; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %180 = load <60 x i1>, ptr undef, align 64
6699; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %181 = load <61 x i1>, ptr undef, align 64
6700; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %182 = load <62 x i1>, ptr undef, align 64
6701; SSE2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %183 = load <63 x i1>, ptr undef, align 64
6702; SSE2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
6703;
6704; SSE41-LABEL: 'loads_partial_align64'
6705; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 64
6706; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %2 = load <3 x i64>, ptr undef, align 64
6707; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %3 = load <5 x i64>, ptr undef, align 64
6708; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %4 = load <6 x i64>, ptr undef, align 64
6709; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %5 = load <7 x i64>, ptr undef, align 64
6710; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 64
6711; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %7 = load <3 x double>, ptr undef, align 64
6712; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %8 = load <5 x double>, ptr undef, align 64
6713; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %9 = load <6 x double>, ptr undef, align 64
6714; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %10 = load <7 x double>, ptr undef, align 64
6715; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 64
6716; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 64
6717; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <3 x i32>, ptr undef, align 64
6718; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %14 = load <5 x i32>, ptr undef, align 64
6719; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %15 = load <6 x i32>, ptr undef, align 64
6720; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %16 = load <7 x i32>, ptr undef, align 64
6721; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %17 = load <9 x i32>, ptr undef, align 64
6722; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %18 = load <10 x i32>, ptr undef, align 64
6723; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %19 = load <11 x i32>, ptr undef, align 64
6724; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %20 = load <12 x i32>, ptr undef, align 64
6725; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %21 = load <13 x i32>, ptr undef, align 64
6726; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %22 = load <14 x i32>, ptr undef, align 64
6727; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %23 = load <15 x i32>, ptr undef, align 64
6728; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 64
6729; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 64
6730; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %26 = load <3 x float>, ptr undef, align 64
6731; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %27 = load <5 x float>, ptr undef, align 64
6732; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %28 = load <6 x float>, ptr undef, align 64
6733; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %29 = load <7 x float>, ptr undef, align 64
6734; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %30 = load <9 x float>, ptr undef, align 64
6735; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %31 = load <10 x float>, ptr undef, align 64
6736; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %32 = load <11 x float>, ptr undef, align 64
6737; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %33 = load <12 x float>, ptr undef, align 64
6738; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %34 = load <13 x float>, ptr undef, align 64
6739; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %35 = load <14 x float>, ptr undef, align 64
6740; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %36 = load <15 x float>, ptr undef, align 64
6741; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 64
6742; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 64
6743; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %39 = load <3 x i16>, ptr undef, align 64
6744; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 64
6745; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %41 = load <5 x i16>, ptr undef, align 64
6746; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %42 = load <6 x i16>, ptr undef, align 64
6747; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %43 = load <7 x i16>, ptr undef, align 64
6748; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %44 = load <9 x i16>, ptr undef, align 64
6749; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %45 = load <10 x i16>, ptr undef, align 64
6750; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %46 = load <11 x i16>, ptr undef, align 64
6751; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %47 = load <12 x i16>, ptr undef, align 64
6752; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %48 = load <13 x i16>, ptr undef, align 64
6753; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %49 = load <14 x i16>, ptr undef, align 64
6754; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %50 = load <15 x i16>, ptr undef, align 64
6755; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %51 = load <17 x i16>, ptr undef, align 64
6756; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %52 = load <18 x i16>, ptr undef, align 64
6757; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %53 = load <19 x i16>, ptr undef, align 64
6758; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %54 = load <20 x i16>, ptr undef, align 64
6759; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %55 = load <21 x i16>, ptr undef, align 64
6760; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %56 = load <22 x i16>, ptr undef, align 64
6761; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %57 = load <23 x i16>, ptr undef, align 64
6762; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %58 = load <24 x i16>, ptr undef, align 64
6763; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %59 = load <25 x i16>, ptr undef, align 64
6764; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %60 = load <26 x i16>, ptr undef, align 64
6765; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %61 = load <27 x i16>, ptr undef, align 64
6766; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %62 = load <28 x i16>, ptr undef, align 64
6767; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %63 = load <29 x i16>, ptr undef, align 64
6768; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %64 = load <30 x i16>, ptr undef, align 64
6769; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %65 = load <31 x i16>, ptr undef, align 64
6770; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 64
6771; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %67 = load <2 x i8>, ptr undef, align 64
6772; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %68 = load <3 x i8>, ptr undef, align 64
6773; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 64
6774; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %70 = load <5 x i8>, ptr undef, align 64
6775; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %71 = load <6 x i8>, ptr undef, align 64
6776; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %72 = load <7 x i8>, ptr undef, align 64
6777; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 64
6778; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %74 = load <9 x i8>, ptr undef, align 64
6779; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %75 = load <10 x i8>, ptr undef, align 64
6780; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %76 = load <11 x i8>, ptr undef, align 64
6781; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %77 = load <12 x i8>, ptr undef, align 64
6782; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %78 = load <13 x i8>, ptr undef, align 64
6783; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %79 = load <14 x i8>, ptr undef, align 64
6784; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %80 = load <15 x i8>, ptr undef, align 64
6785; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %81 = load <17 x i8>, ptr undef, align 64
6786; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %82 = load <18 x i8>, ptr undef, align 64
6787; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %83 = load <19 x i8>, ptr undef, align 64
6788; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %84 = load <20 x i8>, ptr undef, align 64
6789; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %85 = load <21 x i8>, ptr undef, align 64
6790; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %86 = load <22 x i8>, ptr undef, align 64
6791; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %87 = load <23 x i8>, ptr undef, align 64
6792; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %88 = load <24 x i8>, ptr undef, align 64
6793; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %89 = load <25 x i8>, ptr undef, align 64
6794; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %90 = load <26 x i8>, ptr undef, align 64
6795; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %91 = load <27 x i8>, ptr undef, align 64
6796; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %92 = load <28 x i8>, ptr undef, align 64
6797; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %93 = load <29 x i8>, ptr undef, align 64
6798; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %94 = load <30 x i8>, ptr undef, align 64
6799; SSE41-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %95 = load <31 x i8>, ptr undef, align 64
6800; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %96 = load <33 x i8>, ptr undef, align 64
6801; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %97 = load <34 x i8>, ptr undef, align 64
6802; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %98 = load <35 x i8>, ptr undef, align 64
6803; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %99 = load <36 x i8>, ptr undef, align 64
6804; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %100 = load <37 x i8>, ptr undef, align 64
6805; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %101 = load <38 x i8>, ptr undef, align 64
6806; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %102 = load <39 x i8>, ptr undef, align 64
6807; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %103 = load <40 x i8>, ptr undef, align 64
6808; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %104 = load <41 x i8>, ptr undef, align 64
6809; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %105 = load <42 x i8>, ptr undef, align 64
6810; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %106 = load <43 x i8>, ptr undef, align 64
6811; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %107 = load <44 x i8>, ptr undef, align 64
6812; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %108 = load <45 x i8>, ptr undef, align 64
6813; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %109 = load <46 x i8>, ptr undef, align 64
6814; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %110 = load <47 x i8>, ptr undef, align 64
6815; SSE41-NEXT:  Cost Model: Found an estimated cost of 3 for instruction: %111 = load <48 x i8>, ptr undef, align 64
6816; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %112 = load <49 x i8>, ptr undef, align 64
6817; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %113 = load <50 x i8>, ptr undef, align 64
6818; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %114 = load <51 x i8>, ptr undef, align 64
6819; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %115 = load <52 x i8>, ptr undef, align 64
6820; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %116 = load <53 x i8>, ptr undef, align 64
6821; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %117 = load <54 x i8>, ptr undef, align 64
6822; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %118 = load <55 x i8>, ptr undef, align 64
6823; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %119 = load <56 x i8>, ptr undef, align 64
6824; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %120 = load <57 x i8>, ptr undef, align 64
6825; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %121 = load <58 x i8>, ptr undef, align 64
6826; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %122 = load <59 x i8>, ptr undef, align 64
6827; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %123 = load <60 x i8>, ptr undef, align 64
6828; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %124 = load <61 x i8>, ptr undef, align 64
6829; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %125 = load <62 x i8>, ptr undef, align 64
6830; SSE41-NEXT:  Cost Model: Found an estimated cost of 4 for instruction: %126 = load <63 x i8>, ptr undef, align 64
6831; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %127 = load <3 x i1>, ptr undef, align 64
6832; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %128 = load <5 x i1>, ptr undef, align 64
6833; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %129 = load <6 x i1>, ptr undef, align 64
6834; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %130 = load <7 x i1>, ptr undef, align 64
6835; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %131 = load <9 x i1>, ptr undef, align 64
6836; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %132 = load <10 x i1>, ptr undef, align 64
6837; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %133 = load <11 x i1>, ptr undef, align 64
6838; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %134 = load <12 x i1>, ptr undef, align 64
6839; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %135 = load <13 x i1>, ptr undef, align 64
6840; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %136 = load <14 x i1>, ptr undef, align 64
6841; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %137 = load <15 x i1>, ptr undef, align 64
6842; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %138 = load <17 x i1>, ptr undef, align 64
6843; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %139 = load <18 x i1>, ptr undef, align 64
6844; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %140 = load <19 x i1>, ptr undef, align 64
6845; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %141 = load <20 x i1>, ptr undef, align 64
6846; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %142 = load <21 x i1>, ptr undef, align 64
6847; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %143 = load <22 x i1>, ptr undef, align 64
6848; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %144 = load <23 x i1>, ptr undef, align 64
6849; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %145 = load <24 x i1>, ptr undef, align 64
6850; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %146 = load <25 x i1>, ptr undef, align 64
6851; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %147 = load <26 x i1>, ptr undef, align 64
6852; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %148 = load <27 x i1>, ptr undef, align 64
6853; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %149 = load <28 x i1>, ptr undef, align 64
6854; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %150 = load <29 x i1>, ptr undef, align 64
6855; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %151 = load <30 x i1>, ptr undef, align 64
6856; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %152 = load <31 x i1>, ptr undef, align 64
6857; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %153 = load <33 x i1>, ptr undef, align 64
6858; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %154 = load <34 x i1>, ptr undef, align 64
6859; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %155 = load <35 x i1>, ptr undef, align 64
6860; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %156 = load <36 x i1>, ptr undef, align 64
6861; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %157 = load <37 x i1>, ptr undef, align 64
6862; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %158 = load <38 x i1>, ptr undef, align 64
6863; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %159 = load <39 x i1>, ptr undef, align 64
6864; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %160 = load <40 x i1>, ptr undef, align 64
6865; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %161 = load <41 x i1>, ptr undef, align 64
6866; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %162 = load <42 x i1>, ptr undef, align 64
6867; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %163 = load <43 x i1>, ptr undef, align 64
6868; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %164 = load <44 x i1>, ptr undef, align 64
6869; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %165 = load <45 x i1>, ptr undef, align 64
6870; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %166 = load <46 x i1>, ptr undef, align 64
6871; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %167 = load <47 x i1>, ptr undef, align 64
6872; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %168 = load <48 x i1>, ptr undef, align 64
6873; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %169 = load <49 x i1>, ptr undef, align 64
6874; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %170 = load <50 x i1>, ptr undef, align 64
6875; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %171 = load <51 x i1>, ptr undef, align 64
6876; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %172 = load <52 x i1>, ptr undef, align 64
6877; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %173 = load <53 x i1>, ptr undef, align 64
6878; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %174 = load <54 x i1>, ptr undef, align 64
6879; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %175 = load <55 x i1>, ptr undef, align 64
6880; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %176 = load <56 x i1>, ptr undef, align 64
6881; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %177 = load <57 x i1>, ptr undef, align 64
6882; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %178 = load <58 x i1>, ptr undef, align 64
6883; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %179 = load <59 x i1>, ptr undef, align 64
6884; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %180 = load <60 x i1>, ptr undef, align 64
6885; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %181 = load <61 x i1>, ptr undef, align 64
6886; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %182 = load <62 x i1>, ptr undef, align 64
6887; SSE41-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %183 = load <63 x i1>, ptr undef, align 64
6888; SSE41-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
6889;
6890; AVX-LABEL: 'loads_partial_align64'
6891; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 64
6892; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load <3 x i64>, ptr undef, align 64
6893; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %3 = load <5 x i64>, ptr undef, align 64
6894; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %4 = load <6 x i64>, ptr undef, align 64
6895; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %5 = load <7 x i64>, ptr undef, align 64
6896; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 64
6897; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %7 = load <3 x double>, ptr undef, align 64
6898; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %8 = load <5 x double>, ptr undef, align 64
6899; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %9 = load <6 x double>, ptr undef, align 64
6900; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %10 = load <7 x double>, ptr undef, align 64
6901; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 64
6902; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 64
6903; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <3 x i32>, ptr undef, align 64
6904; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <5 x i32>, ptr undef, align 64
6905; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <6 x i32>, ptr undef, align 64
6906; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <7 x i32>, ptr undef, align 64
6907; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %17 = load <9 x i32>, ptr undef, align 64
6908; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %18 = load <10 x i32>, ptr undef, align 64
6909; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %19 = load <11 x i32>, ptr undef, align 64
6910; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %20 = load <12 x i32>, ptr undef, align 64
6911; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %21 = load <13 x i32>, ptr undef, align 64
6912; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %22 = load <14 x i32>, ptr undef, align 64
6913; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %23 = load <15 x i32>, ptr undef, align 64
6914; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 64
6915; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 64
6916; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %26 = load <3 x float>, ptr undef, align 64
6917; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %27 = load <5 x float>, ptr undef, align 64
6918; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %28 = load <6 x float>, ptr undef, align 64
6919; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %29 = load <7 x float>, ptr undef, align 64
6920; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %30 = load <9 x float>, ptr undef, align 64
6921; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %31 = load <10 x float>, ptr undef, align 64
6922; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %32 = load <11 x float>, ptr undef, align 64
6923; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %33 = load <12 x float>, ptr undef, align 64
6924; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %34 = load <13 x float>, ptr undef, align 64
6925; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %35 = load <14 x float>, ptr undef, align 64
6926; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %36 = load <15 x float>, ptr undef, align 64
6927; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 64
6928; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 64
6929; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %39 = load <3 x i16>, ptr undef, align 64
6930; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 64
6931; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %41 = load <5 x i16>, ptr undef, align 64
6932; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %42 = load <6 x i16>, ptr undef, align 64
6933; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %43 = load <7 x i16>, ptr undef, align 64
6934; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %44 = load <9 x i16>, ptr undef, align 64
6935; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %45 = load <10 x i16>, ptr undef, align 64
6936; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %46 = load <11 x i16>, ptr undef, align 64
6937; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %47 = load <12 x i16>, ptr undef, align 64
6938; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <13 x i16>, ptr undef, align 64
6939; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %49 = load <14 x i16>, ptr undef, align 64
6940; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %50 = load <15 x i16>, ptr undef, align 64
6941; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %51 = load <17 x i16>, ptr undef, align 64
6942; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %52 = load <18 x i16>, ptr undef, align 64
6943; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %53 = load <19 x i16>, ptr undef, align 64
6944; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %54 = load <20 x i16>, ptr undef, align 64
6945; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %55 = load <21 x i16>, ptr undef, align 64
6946; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %56 = load <22 x i16>, ptr undef, align 64
6947; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %57 = load <23 x i16>, ptr undef, align 64
6948; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %58 = load <24 x i16>, ptr undef, align 64
6949; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %59 = load <25 x i16>, ptr undef, align 64
6950; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %60 = load <26 x i16>, ptr undef, align 64
6951; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %61 = load <27 x i16>, ptr undef, align 64
6952; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %62 = load <28 x i16>, ptr undef, align 64
6953; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %63 = load <29 x i16>, ptr undef, align 64
6954; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %64 = load <30 x i16>, ptr undef, align 64
6955; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %65 = load <31 x i16>, ptr undef, align 64
6956; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 64
6957; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %67 = load <2 x i8>, ptr undef, align 64
6958; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %68 = load <3 x i8>, ptr undef, align 64
6959; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 64
6960; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %70 = load <5 x i8>, ptr undef, align 64
6961; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %71 = load <6 x i8>, ptr undef, align 64
6962; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %72 = load <7 x i8>, ptr undef, align 64
6963; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 64
6964; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %74 = load <9 x i8>, ptr undef, align 64
6965; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %75 = load <10 x i8>, ptr undef, align 64
6966; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %76 = load <11 x i8>, ptr undef, align 64
6967; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %77 = load <12 x i8>, ptr undef, align 64
6968; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %78 = load <13 x i8>, ptr undef, align 64
6969; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %79 = load <14 x i8>, ptr undef, align 64
6970; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %80 = load <15 x i8>, ptr undef, align 64
6971; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %81 = load <17 x i8>, ptr undef, align 64
6972; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %82 = load <18 x i8>, ptr undef, align 64
6973; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %83 = load <19 x i8>, ptr undef, align 64
6974; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %84 = load <20 x i8>, ptr undef, align 64
6975; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %85 = load <21 x i8>, ptr undef, align 64
6976; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %86 = load <22 x i8>, ptr undef, align 64
6977; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %87 = load <23 x i8>, ptr undef, align 64
6978; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %88 = load <24 x i8>, ptr undef, align 64
6979; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %89 = load <25 x i8>, ptr undef, align 64
6980; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %90 = load <26 x i8>, ptr undef, align 64
6981; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %91 = load <27 x i8>, ptr undef, align 64
6982; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %92 = load <28 x i8>, ptr undef, align 64
6983; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %93 = load <29 x i8>, ptr undef, align 64
6984; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %94 = load <30 x i8>, ptr undef, align 64
6985; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %95 = load <31 x i8>, ptr undef, align 64
6986; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %96 = load <33 x i8>, ptr undef, align 64
6987; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %97 = load <34 x i8>, ptr undef, align 64
6988; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %98 = load <35 x i8>, ptr undef, align 64
6989; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %99 = load <36 x i8>, ptr undef, align 64
6990; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %100 = load <37 x i8>, ptr undef, align 64
6991; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %101 = load <38 x i8>, ptr undef, align 64
6992; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %102 = load <39 x i8>, ptr undef, align 64
6993; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %103 = load <40 x i8>, ptr undef, align 64
6994; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %104 = load <41 x i8>, ptr undef, align 64
6995; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %105 = load <42 x i8>, ptr undef, align 64
6996; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %106 = load <43 x i8>, ptr undef, align 64
6997; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %107 = load <44 x i8>, ptr undef, align 64
6998; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %108 = load <45 x i8>, ptr undef, align 64
6999; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %109 = load <46 x i8>, ptr undef, align 64
7000; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %110 = load <47 x i8>, ptr undef, align 64
7001; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %111 = load <48 x i8>, ptr undef, align 64
7002; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %112 = load <49 x i8>, ptr undef, align 64
7003; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %113 = load <50 x i8>, ptr undef, align 64
7004; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %114 = load <51 x i8>, ptr undef, align 64
7005; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %115 = load <52 x i8>, ptr undef, align 64
7006; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %116 = load <53 x i8>, ptr undef, align 64
7007; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %117 = load <54 x i8>, ptr undef, align 64
7008; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %118 = load <55 x i8>, ptr undef, align 64
7009; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %119 = load <56 x i8>, ptr undef, align 64
7010; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %120 = load <57 x i8>, ptr undef, align 64
7011; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %121 = load <58 x i8>, ptr undef, align 64
7012; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %122 = load <59 x i8>, ptr undef, align 64
7013; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %123 = load <60 x i8>, ptr undef, align 64
7014; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %124 = load <61 x i8>, ptr undef, align 64
7015; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %125 = load <62 x i8>, ptr undef, align 64
7016; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %126 = load <63 x i8>, ptr undef, align 64
7017; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %127 = load <3 x i1>, ptr undef, align 64
7018; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %128 = load <5 x i1>, ptr undef, align 64
7019; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %129 = load <6 x i1>, ptr undef, align 64
7020; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %130 = load <7 x i1>, ptr undef, align 64
7021; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %131 = load <9 x i1>, ptr undef, align 64
7022; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %132 = load <10 x i1>, ptr undef, align 64
7023; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %133 = load <11 x i1>, ptr undef, align 64
7024; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %134 = load <12 x i1>, ptr undef, align 64
7025; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %135 = load <13 x i1>, ptr undef, align 64
7026; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %136 = load <14 x i1>, ptr undef, align 64
7027; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %137 = load <15 x i1>, ptr undef, align 64
7028; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %138 = load <17 x i1>, ptr undef, align 64
7029; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %139 = load <18 x i1>, ptr undef, align 64
7030; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %140 = load <19 x i1>, ptr undef, align 64
7031; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %141 = load <20 x i1>, ptr undef, align 64
7032; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %142 = load <21 x i1>, ptr undef, align 64
7033; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %143 = load <22 x i1>, ptr undef, align 64
7034; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %144 = load <23 x i1>, ptr undef, align 64
7035; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %145 = load <24 x i1>, ptr undef, align 64
7036; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %146 = load <25 x i1>, ptr undef, align 64
7037; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %147 = load <26 x i1>, ptr undef, align 64
7038; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %148 = load <27 x i1>, ptr undef, align 64
7039; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %149 = load <28 x i1>, ptr undef, align 64
7040; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %150 = load <29 x i1>, ptr undef, align 64
7041; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %151 = load <30 x i1>, ptr undef, align 64
7042; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %152 = load <31 x i1>, ptr undef, align 64
7043; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %153 = load <33 x i1>, ptr undef, align 64
7044; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %154 = load <34 x i1>, ptr undef, align 64
7045; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %155 = load <35 x i1>, ptr undef, align 64
7046; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %156 = load <36 x i1>, ptr undef, align 64
7047; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %157 = load <37 x i1>, ptr undef, align 64
7048; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %158 = load <38 x i1>, ptr undef, align 64
7049; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %159 = load <39 x i1>, ptr undef, align 64
7050; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %160 = load <40 x i1>, ptr undef, align 64
7051; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %161 = load <41 x i1>, ptr undef, align 64
7052; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %162 = load <42 x i1>, ptr undef, align 64
7053; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %163 = load <43 x i1>, ptr undef, align 64
7054; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %164 = load <44 x i1>, ptr undef, align 64
7055; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %165 = load <45 x i1>, ptr undef, align 64
7056; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %166 = load <46 x i1>, ptr undef, align 64
7057; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %167 = load <47 x i1>, ptr undef, align 64
7058; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %168 = load <48 x i1>, ptr undef, align 64
7059; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %169 = load <49 x i1>, ptr undef, align 64
7060; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %170 = load <50 x i1>, ptr undef, align 64
7061; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %171 = load <51 x i1>, ptr undef, align 64
7062; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %172 = load <52 x i1>, ptr undef, align 64
7063; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %173 = load <53 x i1>, ptr undef, align 64
7064; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %174 = load <54 x i1>, ptr undef, align 64
7065; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %175 = load <55 x i1>, ptr undef, align 64
7066; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %176 = load <56 x i1>, ptr undef, align 64
7067; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %177 = load <57 x i1>, ptr undef, align 64
7068; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %178 = load <58 x i1>, ptr undef, align 64
7069; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %179 = load <59 x i1>, ptr undef, align 64
7070; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %180 = load <60 x i1>, ptr undef, align 64
7071; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %181 = load <61 x i1>, ptr undef, align 64
7072; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %182 = load <62 x i1>, ptr undef, align 64
7073; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %183 = load <63 x i1>, ptr undef, align 64
7074; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
7075;
7076; AVX512-LABEL: 'loads_partial_align64'
7077; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %1 = load <1 x i64>, ptr undef, align 64
7078; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %2 = load <3 x i64>, ptr undef, align 64
7079; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %3 = load <5 x i64>, ptr undef, align 64
7080; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %4 = load <6 x i64>, ptr undef, align 64
7081; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %5 = load <7 x i64>, ptr undef, align 64
7082; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %6 = load <1 x double>, ptr undef, align 64
7083; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %7 = load <3 x double>, ptr undef, align 64
7084; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %8 = load <5 x double>, ptr undef, align 64
7085; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %9 = load <6 x double>, ptr undef, align 64
7086; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %10 = load <7 x double>, ptr undef, align 64
7087; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %11 = load <1 x i32>, ptr undef, align 64
7088; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %12 = load <2 x i32>, ptr undef, align 64
7089; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %13 = load <3 x i32>, ptr undef, align 64
7090; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %14 = load <5 x i32>, ptr undef, align 64
7091; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %15 = load <6 x i32>, ptr undef, align 64
7092; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %16 = load <7 x i32>, ptr undef, align 64
7093; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %17 = load <9 x i32>, ptr undef, align 64
7094; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %18 = load <10 x i32>, ptr undef, align 64
7095; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %19 = load <11 x i32>, ptr undef, align 64
7096; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %20 = load <12 x i32>, ptr undef, align 64
7097; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %21 = load <13 x i32>, ptr undef, align 64
7098; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %22 = load <14 x i32>, ptr undef, align 64
7099; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %23 = load <15 x i32>, ptr undef, align 64
7100; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %24 = load <1 x float>, ptr undef, align 64
7101; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %25 = load <2 x float>, ptr undef, align 64
7102; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %26 = load <3 x float>, ptr undef, align 64
7103; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %27 = load <5 x float>, ptr undef, align 64
7104; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %28 = load <6 x float>, ptr undef, align 64
7105; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %29 = load <7 x float>, ptr undef, align 64
7106; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %30 = load <9 x float>, ptr undef, align 64
7107; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %31 = load <10 x float>, ptr undef, align 64
7108; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %32 = load <11 x float>, ptr undef, align 64
7109; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %33 = load <12 x float>, ptr undef, align 64
7110; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %34 = load <13 x float>, ptr undef, align 64
7111; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %35 = load <14 x float>, ptr undef, align 64
7112; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %36 = load <15 x float>, ptr undef, align 64
7113; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %37 = load <1 x i16>, ptr undef, align 64
7114; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %38 = load <2 x i16>, ptr undef, align 64
7115; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %39 = load <3 x i16>, ptr undef, align 64
7116; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %40 = load <4 x i16>, ptr undef, align 64
7117; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %41 = load <5 x i16>, ptr undef, align 64
7118; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %42 = load <6 x i16>, ptr undef, align 64
7119; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %43 = load <7 x i16>, ptr undef, align 64
7120; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %44 = load <9 x i16>, ptr undef, align 64
7121; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %45 = load <10 x i16>, ptr undef, align 64
7122; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %46 = load <11 x i16>, ptr undef, align 64
7123; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %47 = load <12 x i16>, ptr undef, align 64
7124; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %48 = load <13 x i16>, ptr undef, align 64
7125; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %49 = load <14 x i16>, ptr undef, align 64
7126; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %50 = load <15 x i16>, ptr undef, align 64
7127; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %51 = load <17 x i16>, ptr undef, align 64
7128; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %52 = load <18 x i16>, ptr undef, align 64
7129; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %53 = load <19 x i16>, ptr undef, align 64
7130; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %54 = load <20 x i16>, ptr undef, align 64
7131; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %55 = load <21 x i16>, ptr undef, align 64
7132; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %56 = load <22 x i16>, ptr undef, align 64
7133; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %57 = load <23 x i16>, ptr undef, align 64
7134; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %58 = load <24 x i16>, ptr undef, align 64
7135; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %59 = load <25 x i16>, ptr undef, align 64
7136; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %60 = load <26 x i16>, ptr undef, align 64
7137; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %61 = load <27 x i16>, ptr undef, align 64
7138; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %62 = load <28 x i16>, ptr undef, align 64
7139; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %63 = load <29 x i16>, ptr undef, align 64
7140; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %64 = load <30 x i16>, ptr undef, align 64
7141; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %65 = load <31 x i16>, ptr undef, align 64
7142; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %66 = load <1 x i8>, ptr undef, align 64
7143; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %67 = load <2 x i8>, ptr undef, align 64
7144; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %68 = load <3 x i8>, ptr undef, align 64
7145; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %69 = load <4 x i8>, ptr undef, align 64
7146; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %70 = load <5 x i8>, ptr undef, align 64
7147; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %71 = load <6 x i8>, ptr undef, align 64
7148; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %72 = load <7 x i8>, ptr undef, align 64
7149; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %73 = load <8 x i8>, ptr undef, align 64
7150; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %74 = load <9 x i8>, ptr undef, align 64
7151; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %75 = load <10 x i8>, ptr undef, align 64
7152; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %76 = load <11 x i8>, ptr undef, align 64
7153; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %77 = load <12 x i8>, ptr undef, align 64
7154; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %78 = load <13 x i8>, ptr undef, align 64
7155; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %79 = load <14 x i8>, ptr undef, align 64
7156; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %80 = load <15 x i8>, ptr undef, align 64
7157; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %81 = load <17 x i8>, ptr undef, align 64
7158; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %82 = load <18 x i8>, ptr undef, align 64
7159; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %83 = load <19 x i8>, ptr undef, align 64
7160; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %84 = load <20 x i8>, ptr undef, align 64
7161; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %85 = load <21 x i8>, ptr undef, align 64
7162; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %86 = load <22 x i8>, ptr undef, align 64
7163; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %87 = load <23 x i8>, ptr undef, align 64
7164; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %88 = load <24 x i8>, ptr undef, align 64
7165; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %89 = load <25 x i8>, ptr undef, align 64
7166; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %90 = load <26 x i8>, ptr undef, align 64
7167; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %91 = load <27 x i8>, ptr undef, align 64
7168; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %92 = load <28 x i8>, ptr undef, align 64
7169; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %93 = load <29 x i8>, ptr undef, align 64
7170; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %94 = load <30 x i8>, ptr undef, align 64
7171; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %95 = load <31 x i8>, ptr undef, align 64
7172; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %96 = load <33 x i8>, ptr undef, align 64
7173; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %97 = load <34 x i8>, ptr undef, align 64
7174; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %98 = load <35 x i8>, ptr undef, align 64
7175; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %99 = load <36 x i8>, ptr undef, align 64
7176; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %100 = load <37 x i8>, ptr undef, align 64
7177; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %101 = load <38 x i8>, ptr undef, align 64
7178; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %102 = load <39 x i8>, ptr undef, align 64
7179; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %103 = load <40 x i8>, ptr undef, align 64
7180; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %104 = load <41 x i8>, ptr undef, align 64
7181; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %105 = load <42 x i8>, ptr undef, align 64
7182; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %106 = load <43 x i8>, ptr undef, align 64
7183; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %107 = load <44 x i8>, ptr undef, align 64
7184; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %108 = load <45 x i8>, ptr undef, align 64
7185; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %109 = load <46 x i8>, ptr undef, align 64
7186; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %110 = load <47 x i8>, ptr undef, align 64
7187; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %111 = load <48 x i8>, ptr undef, align 64
7188; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %112 = load <49 x i8>, ptr undef, align 64
7189; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %113 = load <50 x i8>, ptr undef, align 64
7190; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %114 = load <51 x i8>, ptr undef, align 64
7191; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %115 = load <52 x i8>, ptr undef, align 64
7192; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %116 = load <53 x i8>, ptr undef, align 64
7193; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %117 = load <54 x i8>, ptr undef, align 64
7194; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %118 = load <55 x i8>, ptr undef, align 64
7195; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %119 = load <56 x i8>, ptr undef, align 64
7196; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %120 = load <57 x i8>, ptr undef, align 64
7197; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %121 = load <58 x i8>, ptr undef, align 64
7198; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %122 = load <59 x i8>, ptr undef, align 64
7199; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %123 = load <60 x i8>, ptr undef, align 64
7200; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %124 = load <61 x i8>, ptr undef, align 64
7201; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %125 = load <62 x i8>, ptr undef, align 64
7202; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %126 = load <63 x i8>, ptr undef, align 64
7203; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %127 = load <3 x i1>, ptr undef, align 64
7204; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %128 = load <5 x i1>, ptr undef, align 64
7205; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %129 = load <6 x i1>, ptr undef, align 64
7206; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %130 = load <7 x i1>, ptr undef, align 64
7207; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %131 = load <9 x i1>, ptr undef, align 64
7208; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %132 = load <10 x i1>, ptr undef, align 64
7209; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %133 = load <11 x i1>, ptr undef, align 64
7210; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %134 = load <12 x i1>, ptr undef, align 64
7211; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %135 = load <13 x i1>, ptr undef, align 64
7212; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %136 = load <14 x i1>, ptr undef, align 64
7213; AVX512-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %137 = load <15 x i1>, ptr undef, align 64
7214; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %138 = load <17 x i1>, ptr undef, align 64
7215; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %139 = load <18 x i1>, ptr undef, align 64
7216; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %140 = load <19 x i1>, ptr undef, align 64
7217; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %141 = load <20 x i1>, ptr undef, align 64
7218; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %142 = load <21 x i1>, ptr undef, align 64
7219; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %143 = load <22 x i1>, ptr undef, align 64
7220; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %144 = load <23 x i1>, ptr undef, align 64
7221; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %145 = load <24 x i1>, ptr undef, align 64
7222; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %146 = load <25 x i1>, ptr undef, align 64
7223; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %147 = load <26 x i1>, ptr undef, align 64
7224; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %148 = load <27 x i1>, ptr undef, align 64
7225; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %149 = load <28 x i1>, ptr undef, align 64
7226; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %150 = load <29 x i1>, ptr undef, align 64
7227; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %151 = load <30 x i1>, ptr undef, align 64
7228; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %152 = load <31 x i1>, ptr undef, align 64
7229; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %153 = load <33 x i1>, ptr undef, align 64
7230; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %154 = load <34 x i1>, ptr undef, align 64
7231; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %155 = load <35 x i1>, ptr undef, align 64
7232; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %156 = load <36 x i1>, ptr undef, align 64
7233; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %157 = load <37 x i1>, ptr undef, align 64
7234; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %158 = load <38 x i1>, ptr undef, align 64
7235; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %159 = load <39 x i1>, ptr undef, align 64
7236; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %160 = load <40 x i1>, ptr undef, align 64
7237; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %161 = load <41 x i1>, ptr undef, align 64
7238; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %162 = load <42 x i1>, ptr undef, align 64
7239; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %163 = load <43 x i1>, ptr undef, align 64
7240; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %164 = load <44 x i1>, ptr undef, align 64
7241; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %165 = load <45 x i1>, ptr undef, align 64
7242; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %166 = load <46 x i1>, ptr undef, align 64
7243; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %167 = load <47 x i1>, ptr undef, align 64
7244; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %168 = load <48 x i1>, ptr undef, align 64
7245; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %169 = load <49 x i1>, ptr undef, align 64
7246; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %170 = load <50 x i1>, ptr undef, align 64
7247; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %171 = load <51 x i1>, ptr undef, align 64
7248; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %172 = load <52 x i1>, ptr undef, align 64
7249; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %173 = load <53 x i1>, ptr undef, align 64
7250; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %174 = load <54 x i1>, ptr undef, align 64
7251; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %175 = load <55 x i1>, ptr undef, align 64
7252; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %176 = load <56 x i1>, ptr undef, align 64
7253; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %177 = load <57 x i1>, ptr undef, align 64
7254; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %178 = load <58 x i1>, ptr undef, align 64
7255; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %179 = load <59 x i1>, ptr undef, align 64
7256; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %180 = load <60 x i1>, ptr undef, align 64
7257; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %181 = load <61 x i1>, ptr undef, align 64
7258; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %182 = load <62 x i1>, ptr undef, align 64
7259; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %183 = load <63 x i1>, ptr undef, align 64
7260; AVX512-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
7261;
7262  load <1 x i64>, ptr undef, align 64
7263  ; <2 x i64> is XMM
7264  load <3 x i64>, ptr undef, align 64
7265  ; <4 x i64> is YMM
7266  load <5 x i64>, ptr undef, align 64
7267  load <6 x i64>, ptr undef, align 64
7268  load <7 x i64>, ptr undef, align 64
7269  ; <8 x i64> is ZMM
7270
7271  ; Partial vectors with double elements
7272  load <1 x double>, ptr undef, align 64
7273  ; <2 x double> is XMM
7274  load <3 x double>, ptr undef, align 64
7275  ; <4 x double> is YMM
7276  load <5 x double>, ptr undef, align 64
7277  load <6 x double>, ptr undef, align 64
7278  load <7 x double>, ptr undef, align 64
7279  ; <8 x double> is ZMM
7280
7281  ; Partial vectors with i32 elements
7282  load <1 x i32>, ptr undef, align 64
7283  load <2 x i32>, ptr undef, align 64
7284  load <3 x i32>, ptr undef, align 64
7285  ; <4 x i32> is XMM
7286  load <5 x i32>, ptr undef, align 64
7287  load <6 x i32>, ptr undef, align 64
7288  load <7 x i32>, ptr undef, align 64
7289  ; <8 x i32> is YMM
7290  load <9 x i32>, ptr undef, align 64
7291  load <10 x i32>, ptr undef, align 64
7292  load <11 x i32>, ptr undef, align 64
7293  load <12 x i32>, ptr undef, align 64
7294  load <13 x i32>, ptr undef, align 64
7295  load <14 x i32>, ptr undef, align 64
7296  load <15 x i32>, ptr undef, align 64
7297  ; <16 x i32> is ZMM
7298
7299  ; Partial vectors with float elements
7300  load <1 x float>, ptr undef, align 64
7301  load <2 x float>, ptr undef, align 64
7302  load <3 x float>, ptr undef, align 64
7303  ; <4 x float> is XMM
7304  load <5 x float>, ptr undef, align 64
7305  load <6 x float>, ptr undef, align 64
7306  load <7 x float>, ptr undef, align 64
7307  ; <8 x float> is YMM
7308  load <9 x float>, ptr undef, align 64
7309  load <10 x float>, ptr undef, align 64
7310  load <11 x float>, ptr undef, align 64
7311  load <12 x float>, ptr undef, align 64
7312  load <13 x float>, ptr undef, align 64
7313  load <14 x float>, ptr undef, align 64
7314  load <15 x float>, ptr undef, align 64
7315  ; <16 x float> is ZMM
7316
7317  ; Partial vectors with i16 elements
7318  load <1 x i16>, ptr undef, align 64
7319  load <2 x i16>, ptr undef, align 64
7320  load <3 x i16>, ptr undef, align 64
7321  load <4 x i16>, ptr undef, align 64
7322  load <5 x i16>, ptr undef, align 64
7323  load <6 x i16>, ptr undef, align 64
7324  load <7 x i16>, ptr undef, align 64
7325  ; <8 x i16> is XMM
7326  load <9 x i16>, ptr undef, align 64
7327  load <10 x i16>, ptr undef, align 64
7328  load <11 x i16>, ptr undef, align 64
7329  load <12 x i16>, ptr undef, align 64
7330  load <13 x i16>, ptr undef, align 64
7331  load <14 x i16>, ptr undef, align 64
7332  load <15 x i16>, ptr undef, align 64
7333  ; <16 x i16> is YMM
7334  load <17 x i16>, ptr undef, align 64
7335  load <18 x i16>, ptr undef, align 64
7336  load <19 x i16>, ptr undef, align 64
7337  load <20 x i16>, ptr undef, align 64
7338  load <21 x i16>, ptr undef, align 64
7339  load <22 x i16>, ptr undef, align 64
7340  load <23 x i16>, ptr undef, align 64
7341  load <24 x i16>, ptr undef, align 64
7342  load <25 x i16>, ptr undef, align 64
7343  load <26 x i16>, ptr undef, align 64
7344  load <27 x i16>, ptr undef, align 64
7345  load <28 x i16>, ptr undef, align 64
7346  load <29 x i16>, ptr undef, align 64
7347  load <30 x i16>, ptr undef, align 64
7348  load <31 x i16>, ptr undef, align 64
7349  ; <32 x i16> is ZMM
7350
7351  ; Partial vectors with i8 elements
7352  load <1 x i8>, ptr undef, align 64
7353  load <2 x i8>, ptr undef, align 64
7354  load <3 x i8>, ptr undef, align 64
7355  load <4 x i8>, ptr undef, align 64
7356  load <5 x i8>, ptr undef, align 64
7357  load <6 x i8>, ptr undef, align 64
7358  load <7 x i8>, ptr undef, align 64
7359  load <8 x i8>, ptr undef, align 64
7360  load <9 x i8>, ptr undef, align 64
7361  load <10 x i8>, ptr undef, align 64
7362  load <11 x i8>, ptr undef, align 64
7363  load <12 x i8>, ptr undef, align 64
7364  load <13 x i8>, ptr undef, align 64
7365  load <14 x i8>, ptr undef, align 64
7366  load <15 x i8>, ptr undef, align 64
7367  ; <16 x i8> is XMM
7368  load <17 x i8>, ptr undef, align 64
7369  load <18 x i8>, ptr undef, align 64
7370  load <19 x i8>, ptr undef, align 64
7371  load <20 x i8>, ptr undef, align 64
7372  load <21 x i8>, ptr undef, align 64
7373  load <22 x i8>, ptr undef, align 64
7374  load <23 x i8>, ptr undef, align 64
7375  load <24 x i8>, ptr undef, align 64
7376  load <25 x i8>, ptr undef, align 64
7377  load <26 x i8>, ptr undef, align 64
7378  load <27 x i8>, ptr undef, align 64
7379  load <28 x i8>, ptr undef, align 64
7380  load <29 x i8>, ptr undef, align 64
7381  load <30 x i8>, ptr undef, align 64
7382  load <31 x i8>, ptr undef, align 64
7383  ; <32 x i8> is YMM
7384  load <33 x i8>, ptr undef, align 64
7385  load <34 x i8>, ptr undef, align 64
7386  load <35 x i8>, ptr undef, align 64
7387  load <36 x i8>, ptr undef, align 64
7388  load <37 x i8>, ptr undef, align 64
7389  load <38 x i8>, ptr undef, align 64
7390  load <39 x i8>, ptr undef, align 64
7391  load <40 x i8>, ptr undef, align 64
7392  load <41 x i8>, ptr undef, align 64
7393  load <42 x i8>, ptr undef, align 64
7394  load <43 x i8>, ptr undef, align 64
7395  load <44 x i8>, ptr undef, align 64
7396  load <45 x i8>, ptr undef, align 64
7397  load <46 x i8>, ptr undef, align 64
7398  load <47 x i8>, ptr undef, align 64
7399  load <48 x i8>, ptr undef, align 64
7400  load <49 x i8>, ptr undef, align 64
7401  load <50 x i8>, ptr undef, align 64
7402  load <51 x i8>, ptr undef, align 64
7403  load <52 x i8>, ptr undef, align 64
7404  load <53 x i8>, ptr undef, align 64
7405  load <54 x i8>, ptr undef, align 64
7406  load <55 x i8>, ptr undef, align 64
7407  load <56 x i8>, ptr undef, align 64
7408  load <57 x i8>, ptr undef, align 64
7409  load <58 x i8>, ptr undef, align 64
7410  load <59 x i8>, ptr undef, align 64
7411  load <60 x i8>, ptr undef, align 64
7412  load <61 x i8>, ptr undef, align 64
7413  load <62 x i8>, ptr undef, align 64
7414  load <63 x i8>, ptr undef, align 64
7415  ; <64 x i8> is ZMM
7416
7417  ; Partial vectors with i1 elements
7418  ; <1 x i1> is XMM
7419  ; <2 x i1> is XMM
7420  load <3 x i1>, ptr undef, align 64
7421  ; <4 x i1> is XMM
7422  load <5 x i1>, ptr undef, align 64
7423  load <6 x i1>, ptr undef, align 64
7424  load <7 x i1>, ptr undef, align 64
7425  ; <8 x i1> is XMM
7426  load <9 x i1>, ptr undef, align 64
7427  load <10 x i1>, ptr undef, align 64
7428  load <11 x i1>, ptr undef, align 64
7429  load <12 x i1>, ptr undef, align 64
7430  load <13 x i1>, ptr undef, align 64
7431  load <14 x i1>, ptr undef, align 64
7432  load <15 x i1>, ptr undef, align 64
7433  ; <16 x i1> is XMM
7434  load <17 x i1>, ptr undef, align 64
7435  load <18 x i1>, ptr undef, align 64
7436  load <19 x i1>, ptr undef, align 64
7437  load <20 x i1>, ptr undef, align 64
7438  load <21 x i1>, ptr undef, align 64
7439  load <22 x i1>, ptr undef, align 64
7440  load <23 x i1>, ptr undef, align 64
7441  load <24 x i1>, ptr undef, align 64
7442  load <25 x i1>, ptr undef, align 64
7443  load <26 x i1>, ptr undef, align 64
7444  load <27 x i1>, ptr undef, align 64
7445  load <28 x i1>, ptr undef, align 64
7446  load <29 x i1>, ptr undef, align 64
7447  load <30 x i1>, ptr undef, align 64
7448  load <31 x i1>, ptr undef, align 64
7449  ; <32 x i1> is YMM
7450  load <33 x i1>, ptr undef, align 64
7451  load <34 x i1>, ptr undef, align 64
7452  load <35 x i1>, ptr undef, align 64
7453  load <36 x i1>, ptr undef, align 64
7454  load <37 x i1>, ptr undef, align 64
7455  load <38 x i1>, ptr undef, align 64
7456  load <39 x i1>, ptr undef, align 64
7457  load <40 x i1>, ptr undef, align 64
7458  load <41 x i1>, ptr undef, align 64
7459  load <42 x i1>, ptr undef, align 64
7460  load <43 x i1>, ptr undef, align 64
7461  load <44 x i1>, ptr undef, align 64
7462  load <45 x i1>, ptr undef, align 64
7463  load <46 x i1>, ptr undef, align 64
7464  load <47 x i1>, ptr undef, align 64
7465  load <48 x i1>, ptr undef, align 64
7466  load <49 x i1>, ptr undef, align 64
7467  load <50 x i1>, ptr undef, align 64
7468  load <51 x i1>, ptr undef, align 64
7469  load <52 x i1>, ptr undef, align 64
7470  load <53 x i1>, ptr undef, align 64
7471  load <54 x i1>, ptr undef, align 64
7472  load <55 x i1>, ptr undef, align 64
7473  load <56 x i1>, ptr undef, align 64
7474  load <57 x i1>, ptr undef, align 64
7475  load <58 x i1>, ptr undef, align 64
7476  load <59 x i1>, ptr undef, align 64
7477  load <60 x i1>, ptr undef, align 64
7478  load <61 x i1>, ptr undef, align 64
7479  load <62 x i1>, ptr undef, align 64
7480  load <63 x i1>, ptr undef, align 64
7481  ; <64 x i1> is ZMM
7482
7483  ret i32 undef
7484}
7485