efriedma added a comment. > That's still going to look horrendous in IR, no? We could run the testcase through the loop unroller before passing it to llc? Maybe that's a little too tricky. https://reviews.llvm.org/D30207