[LV] Re-use existing compare if possible for diff checks.
SCEV simplifying the subtraction may result in redundant compares that are all OR'd together. Keep track of the generated operands in SeenCompares, with the key being the pair of operands for the compare. If we alrady generated the same compare previously, skip it.
parent
0d9f557b
Please register or sign in to comment