[InstCombine] fix profitability equation for max-of-nots transform
As the test change shows, we can increase the critical path by adding a 'not' instruction, so make sure that we're actually removing an instruction if we do this transform. This transform could also cause us to miss folds of min/max pairs. llvm-svn: 286315
Loading
Please register or sign in to comment