[InstCombine] fix use check when canonicalizing abs/nabs
We were checking for extra uses of the negated operand even if we were not going to create it as part of this canonicalization. This was showing up as a regression when we limit EarlyCSE as proposed in D74285.
Loading
Please sign in to comment