IBM zSystems: Fix predicate execute_operation
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Mon, 13 Feb 2023 11:06:44 +0000 (12:06 +0100)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Mon, 13 Feb 2023 11:06:44 +0000 (12:06 +0100)
commit1e191d19b5c182c9e919ca2a331e52b68132f7ac
treee425cb2ad9116068af6f7b562dccd5cfa591d05e
parentbc5581fe327388fea5af875c028ccb8cfb0b6a1c
IBM zSystems: Fix predicate execute_operation

Use constrain_operands in order to check whether there exists a valid
alternative instead of extract_constrain_insn which ICEs in case no
alternative is found.

gcc/ChangeLog:

* config/s390/predicates.md (execute_operation): Use
constrain_operands instead of extract_constrain_insn in order to
determine wheter there exists a valid alternative.
gcc/config/s390/predicates.md