aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arc/arc.md
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2021-09-14 12:25:43 +0300
committerClaudiu Zissulescu <claziss@synopsys.com>2021-09-14 12:27:22 +0300
commit9bb20299ba1d1cc3bbd83a07a777fcc5a93cfeb0 (patch)
tree4a798987f553ed5f786cbca3437b392d4317f791 /gcc/config/arc/arc.md
parentf349a8b5928ec66cad91c00623db67e747be1600 (diff)
downloadgcc-9bb20299ba1d1cc3bbd83a07a777fcc5a93cfeb0.zip
gcc-9bb20299ba1d1cc3bbd83a07a777fcc5a93cfeb0.tar.gz
gcc-9bb20299ba1d1cc3bbd83a07a777fcc5a93cfeb0.tar.bz2
arc: Update ZOL pattern.
The ZOL pattern is missing modes which may lead to errors during var_tracking. Add them. gcc/ * config/arc/arc.md (doloop_end): Add missing mode. (loop_end): Likewise. Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
Diffstat (limited to 'gcc/config/arc/arc.md')
-rw-r--r--gcc/config/arc/arc.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md
index 90ba85e..4919d27 100644
--- a/gcc/config/arc/arc.md
+++ b/gcc/config/arc/arc.md
@@ -4966,8 +4966,8 @@ core_3, archs4x, archs4xd, archs4xd_slow"
(const_int 1))
(label_ref (match_operand 1 "" ""))
(pc)))
- (set (match_dup 0) (plus (match_dup 0) (const_int -1)))
- (unspec [(const_int 0)] UNSPEC_ARC_LP)
+ (set (match_dup 0) (plus:SI (match_dup 0) (const_int -1)))
+ (unspec:SI [(const_int 0)] UNSPEC_ARC_LP)
(clobber (match_dup 2))])]
""
{
@@ -4996,8 +4996,8 @@ core_3, archs4x, archs4xd, archs4xd_slow"
(const_int 1))
(label_ref (match_operand 1 "" ""))
(pc)))
- (set (match_dup 0) (plus (match_dup 0) (const_int -1)))
- (unspec [(const_int 0)] UNSPEC_ARC_LP)
+ (set (match_dup 0) (plus:SI (match_dup 0) (const_int -1)))
+ (unspec:SI [(const_int 0)] UNSPEC_ARC_LP)
(clobber (match_scratch:SI 2 "=X,&r"))]
""
"@