[RISCV][test] Add tests for atomic compare exchange + branch on result
authorAlex Bradbury <asb@igalia.com>
Wed, 20 Jul 2022 16:49:33 +0000 (17:49 +0100)
committerAlex Bradbury <asb@igalia.com>
Wed, 20 Jul 2022 16:49:33 +0000 (17:49 +0100)
commitc30c461dde8146bf0557c49ae934c62e67b7d366
tree0010b2b63f8bbeec38bf77d02d6c2abf5f4d1fae
parent7a2a640969637d32669464b02d1906a936481402
[RISCV][test] Add tests for atomic compare exchange + branch on result

Due to the late expansion of the compare exchange sequences, there's
scope for improving codegen by folding the branches into the cmpxchg
loop (avoiding a branch-to-branch).
llvm/test/CodeGen/RISCV/atomic-cmpxchg-branch-on-result.ll [new file with mode: 0644]