https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109733

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Uros Bizjak <u...@gcc.gnu.org>:

https://gcc.gnu.org/g:8cac23781753bd8a016507dc9b21ec563e1d9b49

commit r14-485-g8cac23781753bd8a016507dc9b21ec563e1d9b49
Author: Uros Bizjak <ubiz...@gmail.com>
Date:   Thu May 4 20:26:12 2023 +0200

    i386: Tighten ashift to lea splitter operand predicates [PR109733]

    The predicates of ashift to lea post-reload splitter were too broad
    so the splitter tried to convert the mask shift instruction.  Tighten
    operand predicates to match only general registers.

    gcc/ChangeLog:

            PR target/109733
            * config/i386/predicates.md (index_reg_operand): New predicate.
            * config/i386/i386.md (ashift to lea spliter): Use
            general_reg_operand and index_reg_operand predicates.

Reply via email to