diff mbox series

[13/19,GCC-8] Aarch64: Fix shrinkwrapping interactions with atomics

Message ID ccd9868d-4a16-d9c6-6d4a-5e7df57ba8ac@arm.com
State New
Headers show
Series aarch64: Backport outline atomics | expand

Commit Message

Andre Vieira (lists) April 16, 2020, 12:26 p.m. UTC
2020-04-16  Andre Vieira <andre.simoesdiasvieira@arm.com>

     Backport from mainline
     2020-01-17  Wilco Dijkstra <wdijkstr@arm.com>

     PR target/92692
     * config/aarch64/atomics.md (aarch64_compare_and_swap<mode>)
     Use epilogue_completed rather than reload_completed.
diff mbox series

Patch

diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md
index 28a1dbc4231009333c2e766d9d3aead54a491631..0ee8d2efac05877d610981b719bd02afdf93a832 100644
--- a/gcc/config/aarch64/atomics.md
+++ b/gcc/config/aarch64/atomics.md
@@ -104,7 +104,7 @@ 
    (clobber (match_scratch:SI 7 "=&r"))]
   ""
   "#"
-  "&& reload_completed"
+  "&& epilogue_completed"
   [(const_int 0)]
   {
     aarch64_split_compare_and_swap (operands);