Adjust grep's for new code sequence.

llvm-svn: 55320
This commit is contained in:
Dale Johannesen 2008-08-25 18:53:58 +00:00
parent 39bd83dbc0
commit 6431c39237
2 changed files with 2 additions and 2 deletions

View File

@ -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 )

View File

@ -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 )