[DAGCombiner] Add fold for `~x + x` -> `-1`
This is generally done by the InstCombine, but can be emitted as an intermediate step and is cheap to handle. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D145177
Loading
Please sign in to comment