samparker added a comment. Please could you add an opt test for the hardware-loops too? This looks like a corner case that we're not getting generic coverage on. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D64124/new/ https://reviews.llvm.org/D64124