summaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-08-25 18:53:58 +0000
committerDale Johannesen <dalej@apple.com>2008-08-25 18:53:58 +0000
commit8bb2ef4760560196a5731b43b2d99dc4d53ba662 (patch)
treecb1081a21d49b506d8c7e0a545063b63ba4394f8 /test/CodeGen
parent65e3973dff46a54ff764d09f57ebe59fbff6bbdf (diff)
downloadexternal_llvm-8bb2ef4760560196a5731b43b2d99dc4d53ba662.zip
external_llvm-8bb2ef4760560196a5731b43b2d99dc4d53ba662.tar.gz
external_llvm-8bb2ef4760560196a5731b43b2d99dc4d53ba662.tar.bz2
Adjust grep's for new code sequence.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/PowerPC/atomic-1.ll2
-rw-r--r--test/CodeGen/PowerPC/atomic-2.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/atomic-1.ll b/test/CodeGen/PowerPC/atomic-1.ll
index ea5a5a5..f6bb298 100644
--- a/test/CodeGen/PowerPC/atomic-1.ll
+++ b/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/test/CodeGen/PowerPC/atomic-2.ll b/test/CodeGen/PowerPC/atomic-2.ll
index 2c7e221..77b7b08 100644
--- a/test/CodeGen/PowerPC/atomic-2.ll
+++ b/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 )