https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Hongtao Liu from comment #1) > Looking at the hook description, it looks like x86 still need nozero return > values under apx (due to AREG, DREG, CREG, BREG, SIREG, DIREG) Please note that we also have TARGET_CLASS_LIKELY_SPILLED_P that handles problematic registers in a more fine-grained way.