if-convertedA branch became branchless arithmetic
Reported by --explain after a verdict.
mettle explain if-converted
A short if in the body was rewritten as a select or a mask, so both sides are computed and one is chosen. That removes a mispredictable branch, and it is what lets a loop with a small conditional vectorize.
Related
- vectorizedThe loop became a SIMD kernel
- vectorized-innerThe inner loop of a nest became a kernel
- outer-of-nestThe outer loop of a nest, reported for context
- eliminatedThe loop was removed
- inlinedThe call was inlined
- unrolledThe loop was unrolled
- hoistedA call was lifted out of the loop
- prefetchedA prefetch was inserted