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