[X86] (0 - SetCC) | C -> (zext (not SetCC)) * (C + 1) - 1 if we can get a LEA out of it.
This adresses various regression in D131260 , as well as is a useful optimization in itself. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D131358
Loading
Please sign in to comment