https://gcc.gnu.org/g:ffc867844c989c16815580ce243296bfdcec8590

commit r16-3097-gffc867844c989c16815580ce243296bfdcec8590
Author: Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp>
Date:   Fri Aug 8 06:49:13 2025 +0900

    xtensa: Refine constraint "T" to define_special_memory_constraint
    
    References to literal pool entries do not need to be reloaded or converted
    to "(mem (reg X))" to load via base register.
    
    gcc/ChangeLog:
    
            * config/xtensa/constraints.md (T):
            Change define_memory_constraint to define_special_memory_constraint.

Diff:
---
 gcc/config/xtensa/constraints.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/xtensa/constraints.md b/gcc/config/xtensa/constraints.md
index 77c95713085c..727ec1e2c202 100644
--- a/gcc/config/xtensa/constraints.md
+++ b/gcc/config/xtensa/constraints.md
@@ -130,7 +130,7 @@
  (and (match_code "mem")
       (match_test "smalloffset_mem_p (op)")))
 
-(define_memory_constraint "T"
+(define_special_memory_constraint "T"
  "Memory in a literal pool (addressable with an L32R instruction)."
  (and (match_code "mem")
       (match_test "!TARGET_CONST16 && constantpool_mem_p (op)")))

Reply via email to