[PATCH] D101163: [AArch64] Prevent spilling between ldxr/stxr pairs

LemonBoy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 23:48:14 PDT 2021


LemonBoy marked an inline comment as done.
LemonBoy added inline comments.


================
Comment at: llvm/test/Transforms/AtomicExpand/AArch64/expand-atomicrmw-xchg-fp.ll:3
+; RUN: opt -O1 -S -mtriple=aarch64-- -atomic-expand %s | FileCheck %s
+; RUN: opt -O1 -S -mtriple=aarch64-- -mattr=+outline-atomics -atomic-expand %s | FileCheck %s --check-prefix=OUTLINE-ATOMICS
 
----------------
efriedma wrote:
> I don't think this change is necessary?
At O0 there's no `llvm.aarch64.ldaxr.p0f16` nor `stxr` being emitted after this patch, I've left the test unchanged by bumping up the opt level.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101163/new/

https://reviews.llvm.org/D101163



More information about the llvm-commits mailing list