From: Andrew Pinski Date: Sun, 20 Dec 2015 22:01:32 +0000 (-0800) Subject: 2015-12-20 Andrew Pinsi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ffdcafd1ac4b403fabb6b8065c9200b7b4f9ecc;p=gcc.git 2015-12-20 Andrew Pinsi * config/aarch64/atomics.md (aarch64_atomic__fetch_lse): Add early clobber to the scratch register. From-SVN: r231864 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8b5be3a1e7..f77d3918828 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-12-20 Andrew Pinsi + + * config/aarch64/atomics.md + (aarch64_atomic__fetch_lse): Add early clobber + to the scratch register. + 2015-12-20 Sujoy Saraswati PR tree-optimization/61441 diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md index 68dc27add92..5057563b99e 100644 --- a/gcc/config/aarch64/atomics.md +++ b/gcc/config/aarch64/atomics.md @@ -428,7 +428,7 @@ (match_dup 2) (match_operand:SI 3 "const_int_operand")] UNSPECV_ATOMIC_LDOP)) - (clobber (match_scratch:ALLI 4 "=r"))] + (clobber (match_scratch:ALLI 4 "=&r"))] "TARGET_LSE" "#" "&& reload_completed"