diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-09-26 21:36:10 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-09-26 21:36:10 +0000 |
commit | 47d3ee559a4bbac97db38c84e9c89e56eedc6fb9 (patch) | |
tree | 0046dbb752681da6c215e1c5f73b251b39b1700d /test/CodeGen/Thumb | |
parent | de412c391b25f6b397c354a4e73653fec6d27587 (diff) | |
download | external_llvm-47d3ee559a4bbac97db38c84e9c89e56eedc6fb9.zip external_llvm-47d3ee559a4bbac97db38c84e9c89e56eedc6fb9.tar.gz external_llvm-47d3ee559a4bbac97db38c84e9c89e56eedc6fb9.tar.bz2 |
Convert more tests to new atomic instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb')
-rw-r--r-- | test/CodeGen/Thumb/barrier.ll | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/test/CodeGen/Thumb/barrier.ll b/test/CodeGen/Thumb/barrier.ll index d39b50f..50d138f 100644 --- a/test/CodeGen/Thumb/barrier.ll +++ b/test/CodeGen/Thumb/barrier.ll @@ -2,24 +2,12 @@ ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mattr=-db | FileCheck %s -check-prefix=V6 ; RUN: llc < %s -march=thumb -mcpu=cortex-m0 | FileCheck %s -check-prefix=V6M -declare void @llvm.memory.barrier(i1 , i1 , i1 , i1 , i1) - define void @t1() { ; V6: t1: ; V6: blx {{_*}}sync_synchronize ; V6M: t1: -; V6M: dmb st - call void @llvm.memory.barrier(i1 false, i1 false, i1 false, i1 true, i1 true) - ret void -} - -define void @t2() { -; V6: t2: -; V6: blx {{_*}}sync_synchronize - -; V6M: t2: ; V6M: dmb ish - call void @llvm.memory.barrier(i1 true, i1 false, i1 false, i1 true, i1 false) + fence seq_cst ret void } |