efriedma added a comment. There isn't any reason to duplicate the combine; instcombine will get to it eventually because it iterates over the function. I would say just remove the combine and don't add an assertion. https://reviews.llvm.org/D24031