[InstCombine] Simplify select of cmpxchg transform
Rather than converting to a dummy select with equal true and false ops, just directly return the resulting value. As a side-effect, this fixes missing DCE of the previously replaced operand.
Loading
Please register or sign in to comment