[llvm] [AArch64] Emit ST<OP> instruction when the return value has no use. (PR #72887)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 08:58:10 PST 2023


sun-jacobi wrote:

> Using LDADD here is a conscious decision by compilers (GCC also generates the same code). See the thread at https://gcc.gnu.org/pipermail/gcc-patches/2018-October/509550.html

Thanks for the useful information. 
But maybe we can add a special handling for the LD<OP> with acquire semantics? 



https://github.com/llvm/llvm-project/pull/72887


More information about the llvm-commits mailing list