[llvm-commits] [llvm] r55320 - in /llvm/trunk/test/CodeGen/PowerPC: atomic-1.ll atomic-2.ll
Dale Johannesen
dalej at apple.com
Mon Aug 25 11:53:59 PDT 2008
Author: johannes
Date: Mon Aug 25 13:53:58 2008
New Revision: 55320
URL: http://llvm.org/viewvc/llvm-project?rev=55320&view=rev
Log:
Adjust grep's for new code sequence.
Modified:
llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll
llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll?rev=55320&r1=55319&r2=55320&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll Mon Aug 25 13:53:58 2008
@@ -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 )
Modified: llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll?rev=55320&r1=55319&r2=55320&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll Mon Aug 25 13:53:58 2008
@@ -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 )
More information about the llvm-commits
mailing list