[DAGCombiner][RISCV] Improve computeKnownBits for (smin X, C) where C is negative.
If C is negative, the result of the smin must also be
negative, so all sign bits of the result are 1.
Differential D127080
[DAGCombiner][RISCV] Improve computeKnownBits for (smin X, C) where C is negative. Pretty-box on Jun 5 2022, 8:22 PM. Authored by
Details
[DAGCombiner][RISCV] Improve computeKnownBits for (smin X, C) where C is negative. If C is negative, the result of the smin must also be
Diff Detail
Unit Tests Event Timeline
|
CstHigh and CstLow might have been swapped on line 368.