[llvm-commits] [llvm] r100482 - /llvm/trunk/test/CodeGen/X86/memcpy.ll

Evan Cheng evan.cheng at apple.com
Mon Apr 5 15:30:05 PDT 2010


Author: evancheng
Date: Mon Apr  5 17:30:05 2010
New Revision: 100482

URL: http://llvm.org/viewvc/llvm-project?rev=100482&view=rev
Log:
Add nounwind.

Modified:
    llvm/trunk/test/CodeGen/X86/memcpy.ll

Modified: llvm/trunk/test/CodeGen/X86/memcpy.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/memcpy.ll?rev=100482&r1=100481&r2=100482&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/memcpy.ll (original)
+++ llvm/trunk/test/CodeGen/X86/memcpy.ll Mon Apr  5 17:30:05 2010
@@ -2,13 +2,13 @@
 
 declare void @llvm.memcpy.i64(i8*, i8*, i64, i32)
 
-define i8* @my_memcpy(i8* %a, i8* %b, i64 %n) {
+define i8* @my_memcpy(i8* %a, i8* %b, i64 %n) nounwind {
 entry:
 	tail call void @llvm.memcpy.i64( i8* %a, i8* %b, i64 %n, i32 1 )
 	ret i8* %a
 }
 
-define i8* @my_memcpy2(i64* %a, i64* %b, i64 %n) {
+define i8* @my_memcpy2(i64* %a, i64* %b, i64 %n) nounwind {
 entry:
 	%tmp14 = bitcast i64* %a to i8*
 	%tmp25 = bitcast i64* %b to i8*





More information about the llvm-commits mailing list