aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2023-05-04 12:59:24 +0200
committerUros Bizjak <ubizjak@gmail.com>2023-05-04 13:00:24 +0200
commit508f082829af680ec4c1a5bcf55fe464986e3c95 (patch)
treec6a0417494940505e9f31a86c8d3ff15f96fa8b8 /gcc/tree-ssa-phiopt.cc
parent82cfd93ae81a5687bf2a1b12d964c630e95517a7 (diff)
downloadgcc-508f082829af680ec4c1a5bcf55fe464986e3c95.zip
gcc-508f082829af680ec4c1a5bcf55fe464986e3c95.tar.gz
gcc-508f082829af680ec4c1a5bcf55fe464986e3c95.tar.bz2
i386: Improve index_register_operand predicate
Use the same approach as in register_no_elim_operand predicate, but also reject stack_pointer_rtx operands. gcc/ChangeLog: * config/i386/predicates.md (index_register_operand): Reject arg_pointer_rtx, frame_pointer_rtx, stack_pointer_rtx and VIRTUAL_REGISTER_P operands. Allow subregs of memory before reload. (call_register_no_elim_operand): Rewrite as ... (call_register_operand): ... this. (call_insn_operand): Use call_register_operand predicate.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions