diff options
| author | Dale Johannesen <dalej@apple.com> | 2008-08-25 18:53:58 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2008-08-25 18:53:58 +0000 |
| commit | 17d5be2d0a42c93ef6e615bf0fba855df046f99e (patch) | |
| tree | d2f14439a947b34bdb1d861399594d0cb9fd4809 | |
| parent | 166d6cb1fad159b1aedb3801ecaecb62000979d1 (diff) | |
| download | bcm5719-llvm-17d5be2d0a42c93ef6e615bf0fba855df046f99e.tar.gz bcm5719-llvm-17d5be2d0a42c93ef6e615bf0fba855df046f99e.zip | |
Adjust grep's for new code sequence.
llvm-svn: 55320
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/atomic-1.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/atomic-2.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/atomic-1.ll b/llvm/test/CodeGen/PowerPC/atomic-1.ll index ea5a5a59ba8..f6bb2983d56 100644 --- a/llvm/test/CodeGen/PowerPC/atomic-1.ll +++ b/llvm/test/CodeGen/PowerPC/atomic-1.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -march=ppc32 | grep lwarx | count 3 -; RUN: llvm-as < %s | llc -march=ppc32 | grep stwcx. | count 3 +; RUN: llvm-as < %s | llc -march=ppc32 | grep stwcx. | count 4 define i32 @exchange_and_add(i32* %mem, i32 %val) nounwind { %tmp = call i32 @llvm.atomic.load.add.i32( i32* %mem, i32 %val ) diff --git a/llvm/test/CodeGen/PowerPC/atomic-2.ll b/llvm/test/CodeGen/PowerPC/atomic-2.ll index 2c7e2217d0d..77b7b08d8c2 100644 --- a/llvm/test/CodeGen/PowerPC/atomic-2.ll +++ b/llvm/test/CodeGen/PowerPC/atomic-2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -march=ppc64 | grep ldarx | count 3 -; RUN: llvm-as < %s | llc -march=ppc64 | grep stdcx. | count 3 +; RUN: llvm-as < %s | llc -march=ppc64 | grep stdcx. | count 4 define i64 @exchange_and_add(i64* %mem, i64 %val) nounwind { %tmp = call i64 @llvm.atomic.load.add.i64( i64* %mem, i64 %val ) |

