[llvm-commits] [llvm] r97411 - in /llvm/trunk/test/CodeGen: PowerPC/retaddr.ll X86/store_op_load_fold.ll

Chris Lattner sabre at nondot.org
Sun Feb 28 12:36:49 PST 2010


Author: lattner
Date: Sun Feb 28 14:36:49 2010
New Revision: 97411

URL: http://llvm.org/viewvc/llvm-project?rev=97411&view=rev
Log:
add some random nounwinds.

Modified:
    llvm/trunk/test/CodeGen/PowerPC/retaddr.ll
    llvm/trunk/test/CodeGen/X86/store_op_load_fold.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/retaddr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/retaddr.ll?rev=97411&r1=97410&r2=97411&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/retaddr.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/retaddr.ll Sun Feb 28 14:36:49 2010
@@ -4,7 +4,7 @@
 
 target triple = "powerpc-apple-darwin8"
 
-define void @foo(i8** %X) {
+define void @foo(i8** %X) nounwind {
 entry:
 	%tmp = tail call i8* @llvm.returnaddress( i32 0 )		; <i8*> [#uses=1]
 	store i8* %tmp, i8** %X, align 4

Modified: llvm/trunk/test/CodeGen/X86/store_op_load_fold.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/store_op_load_fold.ll?rev=97411&r1=97410&r2=97411&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/store_op_load_fold.ll (original)
+++ llvm/trunk/test/CodeGen/X86/store_op_load_fold.ll Sun Feb 28 14:36:49 2010
@@ -4,7 +4,7 @@
 
 @X = internal global i16 0              ; <i16*> [#uses=2]
 
-define void @foo() {
+define void @foo() nounwind {
         %tmp.0 = load i16* @X           ; <i16> [#uses=1]
         %tmp.3 = add i16 %tmp.0, 329            ; <i16> [#uses=1]
         store i16 %tmp.3, i16* @X





More information about the llvm-commits mailing list