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

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 03:26:12 PDT 2022


xen0n added a comment.

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?


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