Commit 0b467da
authored
Fix invalidation in
This invalidation was triggered by
convert(::Type{T}, i::LoopVectorization.UpperBoundedInteger) where T<:Number
It turns out `eval_rex` had a `Core.Box` and various issues stemming from
too many small Unions for inference to succeed. Some of the later calls
imply that the type must be specific (there are no methods that can
handle the alternative type). By type-asserting that type early we avoid
the inference failures.eval_rex (#729)1 parent f5f8c6f commit 0b467da
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
| 314 | + | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
341 | 342 | | |
342 | 343 | | |
343 | | - | |
| 344 | + | |
344 | 345 | | |
345 | 346 | | |
346 | 347 | | |
| |||
352 | 353 | | |
353 | 354 | | |
354 | 355 | | |
| 356 | + | |
355 | 357 | | |
356 | | - | |
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
| |||
0 commit comments