[PATCH] D135948: [LoongArch] Add codegen support for cmpxchg on LA64

Gong LingQin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 20:30:26 PDT 2022


gonglingqin added a comment.

In D135948#3885111 <https://reviews.llvm.org/D135948#3885111>, @xen0n wrote:

> Wait. I didn't see any processing wrt the **return value** of `cmpxchg`. Would you mind adding some test cases where the `%res` is not optimized out, so we can get to verify the return value behavior is in line with expectations?

Thanks for your advice, I will add test cases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135948



More information about the llvm-commits mailing list