At the lowest and highest variants in a range, midr_check_var_part_range() compared the part number, rather than the revision, against the bounds. In other words, the "Y" in "rXpY" should be compared to CPU_REV() instead of CPU_PART().
Reported by: Claude (Opus 5.5)