Tuning LLVM's SLP Vectorizer Cost Model (blog.kaving.me)
A recent LLVM patch introduced ordered vector reductions, but it triggered a performance regression on a benchmark by failing to account for the cost of building the initial vector per iteration.