[ValueTracking] Fix isSafeToSpeculativelyExecute for sdiv (PR48778)
The != -1 check does not work correctly for all bitwidths. Use isAllOnesValue() instead.
Loading
Please sign in to comment
The != -1 check does not work correctly for all bitwidths. Use isAllOnesValue() instead.