https://gcc.gnu.org/g:915d2ecffecf7eaf9f14a46aca322326e2882a60
commit r16-4600-g915d2ecffecf7eaf9f14a46aca322326e2882a60 Author: Takayuki 'January June' Suwa <[email protected]> Date: Thu Oct 23 17:06:08 2025 +0900 xtensa: Remove redundant use of 'n'-constraint for call insns Because 'i'-constraint clearly includes 'n'. gcc/ChangeLog: * config/xtensa/xtensa.md (call_internal, call_value_internal, sibcall_internal, sibcall_value_internal): Remove 'n'-constraint. Diff: --- gcc/config/xtensa/xtensa.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md index 05bafdea23dd..374288df7083 100644 --- a/gcc/config/xtensa/xtensa.md +++ b/gcc/config/xtensa/xtensa.md @@ -2516,7 +2516,7 @@ }) (define_insn "call_internal" - [(call (mem (match_operand:SI 0 "call_insn_operand" "nir")) + [(call (mem (match_operand:SI 0 "call_insn_operand" "ir")) (match_operand 1 "" ""))] "!SIBLING_CALL_P (insn)" { @@ -2538,7 +2538,7 @@ (define_insn "call_value_internal" [(set (match_operand 0 "register_operand" "=a") - (call (mem (match_operand:SI 1 "call_insn_operand" "nir")) + (call (mem (match_operand:SI 1 "call_insn_operand" "ir")) (match_operand 2 "" "")))] "!SIBLING_CALL_P (insn)" { @@ -2558,7 +2558,7 @@ }) (define_insn "sibcall_internal" - [(call (mem:SI (match_operand:SI 0 "call_insn_operand" "nic")) + [(call (mem:SI (match_operand:SI 0 "call_insn_operand" "ic")) (match_operand 1 "" ""))] "!TARGET_WINDOWED_ABI && SIBLING_CALL_P (insn)" { @@ -2580,7 +2580,7 @@ (define_insn "sibcall_value_internal" [(set (match_operand 0 "register_operand" "=a") - (call (mem:SI (match_operand:SI 1 "call_insn_operand" "nic")) + (call (mem:SI (match_operand:SI 1 "call_insn_operand" "ic")) (match_operand 2 "" "")))] "!TARGET_WINDOWED_ABI && SIBLING_CALL_P (insn)" {
