1 ; RUN: opt < %s -cost-model -analyze -mtriple=systemz-unknown -mcpu=z13 | FileCheck %s 2 ; 3 ; Note: The scalarized vector instructions costs are not including any 4 ; extracts, due to the undef operands. 5 6 define void @add() { 7 %res0 = add i8 undef, undef 8 %res1 = add i16 undef, undef 9 %res2 = add i32 undef, undef 10 %res3 = add i64 undef, undef 11 %res4 = add <2 x i8> undef, undef 12 %res5 = add <2 x i16> undef, undef 13 %res6 = add <2 x i32> undef, undef 14 %res7 = add <2 x i64> undef, undef 15 %res8 = add <4 x i8> undef, undef 16 %res9 = add <4 x i16> undef, undef 17 %res10 = add <4 x i32> undef, undef 18 %res11 = add <4 x i64> undef, undef 19 %res12 = add <8 x i8> undef, undef 20 %res13 = add <8 x i16> undef, undef 21 %res14 = add <8 x i32> undef, undef 22 %res15 = add <8 x i64> undef, undef 23 %res16 = add <16 x i8> undef, undef 24 %res17 = add <16 x i16> undef, undef 25 %res18 = add <16 x i32> undef, undef 26 %res19 = add <16 x i64> undef, undef 27 28 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res0 = add i8 undef, undef 29 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res1 = add i16 undef, undef 30 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res2 = add i32 undef, undef 31 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res3 = add i64 undef, undef 32 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res4 = add <2 x i8> undef, undef 33 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res5 = add <2 x i16> undef, undef 34 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res6 = add <2 x i32> undef, undef 35 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res7 = add <2 x i64> undef, undef 36 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res8 = add <4 x i8> undef, undef 37 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res9 = add <4 x i16> undef, undef 38 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res10 = add <4 x i32> undef, undef 39 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res11 = add <4 x i64> undef, undef 40 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res12 = add <8 x i8> undef, undef 41 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res13 = add <8 x i16> undef, undef 42 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res14 = add <8 x i32> undef, undef 43 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res15 = add <8 x i64> undef, undef 44 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res16 = add <16 x i8> undef, undef 45 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res17 = add <16 x i16> undef, undef 46 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res18 = add <16 x i32> undef, undef 47 ; CHECK: Cost Model: Found an estimated cost of 8 for instruction: %res19 = add <16 x i64> undef, undef 48 49 ret void; 50 } 51 52 define void @sub() { 53 %res0 = sub i8 undef, undef 54 %res1 = sub i16 undef, undef 55 %res2 = sub i32 undef, undef 56 %res3 = sub i64 undef, undef 57 %res4 = sub <2 x i8> undef, undef 58 %res5 = sub <2 x i16> undef, undef 59 %res6 = sub <2 x i32> undef, undef 60 %res7 = sub <2 x i64> undef, undef 61 %res8 = sub <4 x i8> undef, undef 62 %res9 = sub <4 x i16> undef, undef 63 %res10 = sub <4 x i32> undef, undef 64 %res11 = sub <4 x i64> undef, undef 65 %res12 = sub <8 x i8> undef, undef 66 %res13 = sub <8 x i16> undef, undef 67 %res14 = sub <8 x i32> undef, undef 68 %res15 = sub <8 x i64> undef, undef 69 %res16 = sub <16 x i8> undef, undef 70 %res17 = sub <16 x i16> undef, undef 71 %res18 = sub <16 x i32> undef, undef 72 %res19 = sub <16 x i64> undef, undef 73 74 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res0 = sub i8 undef, undef 75 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res1 = sub i16 undef, undef 76 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res2 = sub i32 undef, undef 77 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res3 = sub i64 undef, undef 78 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res4 = sub <2 x i8> undef, undef 79 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res5 = sub <2 x i16> undef, undef 80 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res6 = sub <2 x i32> undef, undef 81 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res7 = sub <2 x i64> undef, undef 82 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res8 = sub <4 x i8> undef, undef 83 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res9 = sub <4 x i16> undef, undef 84 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res10 = sub <4 x i32> undef, undef 85 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res11 = sub <4 x i64> undef, undef 86 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res12 = sub <8 x i8> undef, undef 87 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res13 = sub <8 x i16> undef, undef 88 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res14 = sub <8 x i32> undef, undef 89 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res15 = sub <8 x i64> undef, undef 90 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res16 = sub <16 x i8> undef, undef 91 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res17 = sub <16 x i16> undef, undef 92 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res18 = sub <16 x i32> undef, undef 93 ; CHECK: Cost Model: Found an estimated cost of 8 for instruction: %res19 = sub <16 x i64> undef, undef 94 95 ret void; 96 } 97 98 define void @mul() { 99 %res0 = mul i8 undef, undef 100 %res1 = mul i16 undef, undef 101 %res2 = mul i32 undef, undef 102 %res3 = mul i64 undef, undef 103 %res4 = mul <2 x i8> undef, undef 104 %res5 = mul <2 x i16> undef, undef 105 %res6 = mul <2 x i32> undef, undef 106 %res7 = mul <2 x i64> undef, undef 107 %res8 = mul <4 x i8> undef, undef 108 %res9 = mul <4 x i16> undef, undef 109 %res10 = mul <4 x i32> undef, undef 110 %res11 = mul <4 x i64> undef, undef 111 %res12 = mul <8 x i8> undef, undef 112 %res13 = mul <8 x i16> undef, undef 113 %res14 = mul <8 x i32> undef, undef 114 %res15 = mul <8 x i64> undef, undef 115 %res16 = mul <16 x i8> undef, undef 116 %res17 = mul <16 x i16> undef, undef 117 %res18 = mul <16 x i32> undef, undef 118 %res19 = mul <16 x i64> undef, undef 119 120 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res0 = mul i8 undef, undef 121 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res1 = mul i16 undef, undef 122 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res2 = mul i32 undef, undef 123 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res3 = mul i64 undef, undef 124 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res4 = mul <2 x i8> undef, undef 125 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res5 = mul <2 x i16> undef, undef 126 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res6 = mul <2 x i32> undef, undef 127 ; CHECK: Cost Model: Found an estimated cost of 3 for instruction: %res7 = mul <2 x i64> undef, undef 128 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res8 = mul <4 x i8> undef, undef 129 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res9 = mul <4 x i16> undef, undef 130 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res10 = mul <4 x i32> undef, undef 131 ; CHECK: Cost Model: Found an estimated cost of 6 for instruction: %res11 = mul <4 x i64> undef, undef 132 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res12 = mul <8 x i8> undef, undef 133 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res13 = mul <8 x i16> undef, undef 134 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res14 = mul <8 x i32> undef, undef 135 ; CHECK: Cost Model: Found an estimated cost of 12 for instruction: %res15 = mul <8 x i64> undef, undef 136 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res16 = mul <16 x i8> undef, undef 137 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res17 = mul <16 x i16> undef, undef 138 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res18 = mul <16 x i32> undef, undef 139 ; CHECK: Cost Model: Found an estimated cost of 24 for instruction: %res19 = mul <16 x i64> undef, undef 140 141 ret void; 142 } 143 144 define void @sdiv() { 145 %res0 = sdiv i8 undef, undef 146 %res1 = sdiv i16 undef, undef 147 %res2 = sdiv i32 undef, undef 148 %res3 = sdiv i64 undef, undef 149 %res4 = sdiv <2 x i8> undef, undef 150 %res5 = sdiv <2 x i16> undef, undef 151 %res6 = sdiv <2 x i32> undef, undef 152 %res7 = sdiv <2 x i64> undef, undef 153 %res8 = sdiv <4 x i8> undef, undef 154 %res9 = sdiv <4 x i16> undef, undef 155 %res10 = sdiv <4 x i32> undef, undef 156 %res11 = sdiv <4 x i64> undef, undef 157 %res12 = sdiv <8 x i8> undef, undef 158 %res13 = sdiv <8 x i16> undef, undef 159 %res14 = sdiv <8 x i32> undef, undef 160 %res15 = sdiv <8 x i64> undef, undef 161 %res16 = sdiv <16 x i8> undef, undef 162 %res17 = sdiv <16 x i16> undef, undef 163 %res18 = sdiv <16 x i32> undef, undef 164 %res19 = sdiv <16 x i64> undef, undef 165 166 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res0 = sdiv i8 undef, undef 167 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res1 = sdiv i16 undef, undef 168 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res2 = sdiv i32 undef, undef 169 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res3 = sdiv i64 undef, undef 170 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res4 = sdiv <2 x i8> undef, undef 171 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res5 = sdiv <2 x i16> undef, undef 172 ; CHECK: Cost Model: Found an estimated cost of 6 for instruction: %res6 = sdiv <2 x i32> undef, undef 173 ; CHECK: Cost Model: Found an estimated cost of 3 for instruction: %res7 = sdiv <2 x i64> undef, undef 174 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res8 = sdiv <4 x i8> undef, undef 175 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res9 = sdiv <4 x i16> undef, undef 176 ; CHECK: Cost Model: Found an estimated cost of 12 for instruction: %res10 = sdiv <4 x i32> undef, undef 177 ; CHECK: Cost Model: Found an estimated cost of 6 for instruction: %res11 = sdiv <4 x i64> undef, undef 178 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res12 = sdiv <8 x i8> undef, undef 179 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res13 = sdiv <8 x i16> undef, undef 180 ; CHECK: Cost Model: Found an estimated cost of 24 for instruction: %res14 = sdiv <8 x i32> undef, undef 181 ; CHECK: Cost Model: Found an estimated cost of 12 for instruction: %res15 = sdiv <8 x i64> undef, undef 182 ; CHECK: Cost Model: Found an estimated cost of 80 for instruction: %res16 = sdiv <16 x i8> undef, undef 183 ; CHECK: Cost Model: Found an estimated cost of 80 for instruction: %res17 = sdiv <16 x i16> undef, undef 184 ; CHECK: Cost Model: Found an estimated cost of 48 for instruction: %res18 = sdiv <16 x i32> undef, undef 185 ; CHECK: Cost Model: Found an estimated cost of 24 for instruction: %res19 = sdiv <16 x i64> undef, undef 186 187 ret void; 188 } 189 190 define void @srem() { 191 %res0 = srem i8 undef, undef 192 %res1 = srem i16 undef, undef 193 %res2 = srem i32 undef, undef 194 %res3 = srem i64 undef, undef 195 %res4 = srem <2 x i8> undef, undef 196 %res5 = srem <2 x i16> undef, undef 197 %res6 = srem <2 x i32> undef, undef 198 %res7 = srem <2 x i64> undef, undef 199 %res8 = srem <4 x i8> undef, undef 200 %res9 = srem <4 x i16> undef, undef 201 %res10 = srem <4 x i32> undef, undef 202 %res11 = srem <4 x i64> undef, undef 203 %res12 = srem <8 x i8> undef, undef 204 %res13 = srem <8 x i16> undef, undef 205 %res14 = srem <8 x i32> undef, undef 206 %res15 = srem <8 x i64> undef, undef 207 %res16 = srem <16 x i8> undef, undef 208 %res17 = srem <16 x i16> undef, undef 209 %res18 = srem <16 x i32> undef, undef 210 %res19 = srem <16 x i64> undef, undef 211 212 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res0 = srem i8 undef, undef 213 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res1 = srem i16 undef, undef 214 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res2 = srem i32 undef, undef 215 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %res3 = srem i64 undef, undef 216 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res4 = srem <2 x i8> undef, undef 217 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res5 = srem <2 x i16> undef, undef 218 ; CHECK: Cost Model: Found an estimated cost of 6 for instruction: %res6 = srem <2 x i32> undef, undef 219 ; CHECK: Cost Model: Found an estimated cost of 3 for instruction: %res7 = srem <2 x i64> undef, undef 220 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res8 = srem <4 x i8> undef, undef 221 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res9 = srem <4 x i16> undef, undef 222 ; CHECK: Cost Model: Found an estimated cost of 12 for instruction: %res10 = srem <4 x i32> undef, undef 223 ; CHECK: Cost Model: Found an estimated cost of 6 for instruction: %res11 = srem <4 x i64> undef, undef 224 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res12 = srem <8 x i8> undef, undef 225 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res13 = srem <8 x i16> undef, undef 226 ; CHECK: Cost Model: Found an estimated cost of 24 for instruction: %res14 = srem <8 x i32> undef, undef 227 ; CHECK: Cost Model: Found an estimated cost of 12 for instruction: %res15 = srem <8 x i64> undef, undef 228 ; CHECK: Cost Model: Found an estimated cost of 80 for instruction: %res16 = srem <16 x i8> undef, undef 229 ; CHECK: Cost Model: Found an estimated cost of 80 for instruction: %res17 = srem <16 x i16> undef, undef 230 ; CHECK: Cost Model: Found an estimated cost of 48 for instruction: %res18 = srem <16 x i32> undef, undef 231 ; CHECK: Cost Model: Found an estimated cost of 24 for instruction: %res19 = srem <16 x i64> undef, undef 232 233 ret void; 234 } 235 236 define void @udiv() { 237 %res0 = udiv i8 undef, undef 238 %res1 = udiv i16 undef, undef 239 %res2 = udiv i32 undef, undef 240 %res3 = udiv i64 undef, undef 241 %res4 = udiv <2 x i8> undef, undef 242 %res5 = udiv <2 x i16> undef, undef 243 %res6 = udiv <2 x i32> undef, undef 244 %res7 = udiv <2 x i64> undef, undef 245 %res8 = udiv <4 x i8> undef, undef 246 %res9 = udiv <4 x i16> undef, undef 247 %res10 = udiv <4 x i32> undef, undef 248 %res11 = udiv <4 x i64> undef, undef 249 %res12 = udiv <8 x i8> undef, undef 250 %res13 = udiv <8 x i16> undef, undef 251 %res14 = udiv <8 x i32> undef, undef 252 %res15 = udiv <8 x i64> undef, undef 253 %res16 = udiv <16 x i8> undef, undef 254 %res17 = udiv <16 x i16> undef, undef 255 %res18 = udiv <16 x i32> undef, undef 256 %res19 = udiv <16 x i64> undef, undef 257 258 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res0 = udiv i8 undef, undef 259 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res1 = udiv i16 undef, undef 260 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res2 = udiv i32 undef, undef 261 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res3 = udiv i64 undef, undef 262 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res4 = udiv <2 x i8> undef, undef 263 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res5 = udiv <2 x i16> undef, undef 264 ; CHECK: Cost Model: Found an estimated cost of 6 for instruction: %res6 = udiv <2 x i32> undef, undef 265 ; CHECK: Cost Model: Found an estimated cost of 5 for instruction: %res7 = udiv <2 x i64> undef, undef 266 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res8 = udiv <4 x i8> undef, undef 267 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res9 = udiv <4 x i16> undef, undef 268 ; CHECK: Cost Model: Found an estimated cost of 12 for instruction: %res10 = udiv <4 x i32> undef, undef 269 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res11 = udiv <4 x i64> undef, undef 270 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res12 = udiv <8 x i8> undef, undef 271 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res13 = udiv <8 x i16> undef, undef 272 ; CHECK: Cost Model: Found an estimated cost of 24 for instruction: %res14 = udiv <8 x i32> undef, undef 273 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res15 = udiv <8 x i64> undef, undef 274 ; CHECK: Cost Model: Found an estimated cost of 80 for instruction: %res16 = udiv <16 x i8> undef, undef 275 ; CHECK: Cost Model: Found an estimated cost of 80 for instruction: %res17 = udiv <16 x i16> undef, undef 276 ; CHECK: Cost Model: Found an estimated cost of 48 for instruction: %res18 = udiv <16 x i32> undef, undef 277 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res19 = udiv <16 x i64> undef, undef 278 279 ret void; 280 } 281 282 define void @urem() { 283 %res0 = urem i8 undef, undef 284 %res1 = urem i16 undef, undef 285 %res2 = urem i32 undef, undef 286 %res3 = urem i64 undef, undef 287 %res4 = urem <2 x i8> undef, undef 288 %res5 = urem <2 x i16> undef, undef 289 %res6 = urem <2 x i32> undef, undef 290 %res7 = urem <2 x i64> undef, undef 291 %res8 = urem <4 x i8> undef, undef 292 %res9 = urem <4 x i16> undef, undef 293 %res10 = urem <4 x i32> undef, undef 294 %res11 = urem <4 x i64> undef, undef 295 %res12 = urem <8 x i8> undef, undef 296 %res13 = urem <8 x i16> undef, undef 297 %res14 = urem <8 x i32> undef, undef 298 %res15 = urem <8 x i64> undef, undef 299 %res16 = urem <16 x i8> undef, undef 300 %res17 = urem <16 x i16> undef, undef 301 %res18 = urem <16 x i32> undef, undef 302 %res19 = urem <16 x i64> undef, undef 303 304 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res0 = urem i8 undef, undef 305 ; CHECK: Cost Model: Found an estimated cost of 4 for instruction: %res1 = urem i16 undef, undef 306 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res2 = urem i32 undef, undef 307 ; CHECK: Cost Model: Found an estimated cost of 2 for instruction: %res3 = urem i64 undef, undef 308 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res4 = urem <2 x i8> undef, undef 309 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res5 = urem <2 x i16> undef, undef 310 ; CHECK: Cost Model: Found an estimated cost of 6 for instruction: %res6 = urem <2 x i32> undef, undef 311 ; CHECK: Cost Model: Found an estimated cost of 5 for instruction: %res7 = urem <2 x i64> undef, undef 312 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res8 = urem <4 x i8> undef, undef 313 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res9 = urem <4 x i16> undef, undef 314 ; CHECK: Cost Model: Found an estimated cost of 12 for instruction: %res10 = urem <4 x i32> undef, undef 315 ; CHECK: Cost Model: Found an estimated cost of 10 for instruction: %res11 = urem <4 x i64> undef, undef 316 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res12 = urem <8 x i8> undef, undef 317 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res13 = urem <8 x i16> undef, undef 318 ; CHECK: Cost Model: Found an estimated cost of 24 for instruction: %res14 = urem <8 x i32> undef, undef 319 ; CHECK: Cost Model: Found an estimated cost of 20 for instruction: %res15 = urem <8 x i64> undef, undef 320 ; CHECK: Cost Model: Found an estimated cost of 80 for instruction: %res16 = urem <16 x i8> undef, undef 321 ; CHECK: Cost Model: Found an estimated cost of 80 for instruction: %res17 = urem <16 x i16> undef, undef 322 ; CHECK: Cost Model: Found an estimated cost of 48 for instruction: %res18 = urem <16 x i32> undef, undef 323 ; CHECK: Cost Model: Found an estimated cost of 40 for instruction: %res19 = urem <16 x i64> undef, undef 324 325 ret void; 326 } 327