https://github.com/JuliaLang/julia
Revision 3f3d8b338b25ea68eadc073e883850a8d252ecd8 authored by Yichao Yu on 07 June 2017, 14:05:00 UTC, committed by Yichao Yu on 10 June 2017, 12:03:11 UTC
This makes sure induction like

```julia
s -= a[i]
```

in an at-simd loop can be vectorized without fastmath annotation.

LLVM currently support at least sub in the vectorizer.
I don't see why it can't handle div so let's first make sure we are ready for that.
1 parent ee9d28b
History
Tip revision: 3f3d8b338b25ea68eadc073e883850a8d252ecd8 authored by Yichao Yu on 07 June 2017, 14:05:00 UTC
Treat sub and div as induction in simd loop lowering
Tip revision: 3f3d8b3
File Mode Size
ISSUE_TEMPLATE.md -rw-r--r-- 568 bytes

back to top