xtensa: Fix missing mode warnings in machine description
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
Thu, 23 Feb 2023 03:42:32 +0000 (12:42 +0900)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 23 Feb 2023 09:30:57 +0000 (01:30 -0800)
gcc/ChangeLog:

* config/xtensa/xtensa.md
(zero_cost_loop_start, zero_cost_loop_end, loop_end):
Add missing "SI:" to PLUS RTXes.

gcc/config/xtensa/xtensa.md

index d3996b2..d6116d6 100644 (file)
                      (label_ref (match_operand 1 "" ""))
                      (pc)))
    (set (match_operand:SI 0 "register_operand" "=a")
-       (plus (match_dup 0)
-             (const_int -1)))
+       (plus:SI (match_dup 0)
+                (const_int -1)))
    (unspec [(const_int 0)] UNSPEC_LSETUP_START)]
   "TARGET_LOOPS && optimize"
   "loop\t%0, %l1_LEND"
                      (label_ref (match_operand 1 "" ""))
                      (pc)))
    (set (match_operand:SI 0 "nonimmediate_operand" "=a,m")
-       (plus (match_dup 0)
-             (const_int -1)))
+       (plus:SI (match_dup 0)
+                (const_int -1)))
    (unspec [(const_int 0)] UNSPEC_LSETUP_END)
    (clobber (match_scratch:SI 3 "=X,&r"))]
   "TARGET_LOOPS && optimize"
                      (label_ref (match_operand 1 "" ""))
                      (pc)))
    (set (match_operand:SI 0 "register_operand" "=a")
-       (plus (match_dup 0)
-             (const_int -1)))
+       (plus:SI (match_dup 0)
+                (const_int -1)))
    (unspec [(const_int 0)] UNSPEC_LSETUP_END)]
   "TARGET_LOOPS && optimize"
 {