[PATCH] D37762: [InstCombine] Remove single use restriction from InstCombine's explicit sinking code.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 15:43:08 PDT 2017


craig.topper added a comment.

Looks like machine sinking fails because it can't handle the cmovs reading eflags. And it only considers one instruction at a time, but to sink the cmov you have to sink the eflags producer and the cmov together.


https://reviews.llvm.org/D37762





More information about the llvm-commits mailing list