`#pragma omp imd` should force the vectorization, but maybe not the hoisting, I don't know. Could be nice to check.
Edit:
Clang fail:
```
<source>:5:5: warning: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning]
`#pragma omp imd` should force the vectorization, but maybe not the hoisting, I don't know. Could be nice to check.
Edit:
Clang fail: ``` <source>:5:5: warning: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning]
1 warning generated. Compiler returned: 0 ```But ICC seems happy with it.