diff options
| author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-04-27 20:33:02 +0000 |
|---|---|---|
| committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-04-27 20:33:02 +0000 |
| commit | 9e71425f54731baa3263b7dca0c2badd632db33f (patch) | |
| tree | 5ee0295dac20204a9468b4a8985952601f0473e7 /llvm/test/CodeGen | |
| parent | b4af107239789499d182deb5111ae3008c09dcb3 (diff) | |
| download | bcm5719-llvm-9e71425f54731baa3263b7dca0c2badd632db33f.tar.gz bcm5719-llvm-9e71425f54731baa3263b7dca0c2badd632db33f.zip | |
[AArch64] Set correct successors in CMPXCHG pseudo expansion.
transferSuccessors() would LoadCmpBB a successor of DoneBB,
whereas it should be a successor of the original MBB.
Follow-up to r266339.
Unfortunately, it's tricky to catch this in the verifier.
llvm-svn: 267779
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/AArch64/cmpxchg-O0.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AArch64/cmpxchg-O0.ll b/llvm/test/CodeGen/AArch64/cmpxchg-O0.ll index 6c6b022044b..c79d82a6377 100644 --- a/llvm/test/CodeGen/AArch64/cmpxchg-O0.ll +++ b/llvm/test/CodeGen/AArch64/cmpxchg-O0.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=aarch64-linux-gnu -O0 %s -o - | FileCheck %s +; RUN: llc -verify-machineinstrs -mtriple=aarch64-linux-gnu -O0 %s -o - | FileCheck %s define { i8, i1 } @test_cmpxchg_8(i8* %addr, i8 %desired, i8 %new) nounwind { ; CHECK-LABEL: test_cmpxchg_8: |

