Message ID | mptfrzvluu4.fsf@arm.com |
---|---|
State | New |
Headers | show |
Series | [pushed] aarch64: Fix cut-&-pasto in early RA pass [PR112948] | expand |
diff --git a/gcc/config/aarch64/aarch64-early-ra.cc b/gcc/config/aarch64/aarch64-early-ra.cc index 484db94513d..24415bd829c 100644 --- a/gcc/config/aarch64/aarch64-early-ra.cc +++ b/gcc/config/aarch64/aarch64-early-ra.cc @@ -2072,8 +2072,8 @@ early_ra::find_strided_accesses () if (group1->strided_polarity) group2->strided_polarity = group1->strided_polarity * pref; - else if (group1->strided_polarity) - group2->strided_polarity = group1->strided_polarity * pref; + else if (group2->strided_polarity) + group1->strided_polarity = group2->strided_polarity * pref; else { group1->strided_polarity = 1;