aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2006-11-28-Memcpy.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2006-11-28-Memcpy.ll')
-rw-r--r--test/CodeGen/X86/2006-11-28-Memcpy.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2006-11-28-Memcpy.ll b/test/CodeGen/X86/2006-11-28-Memcpy.ll
index e0edd2d..a58bedc 100644
--- a/test/CodeGen/X86/2006-11-28-Memcpy.ll
+++ b/test/CodeGen/X86/2006-11-28-Memcpy.ll
@@ -8,7 +8,7 @@
@bytes = constant [4 x i8] c"\AA\BB\CC\DD" ; <[4 x i8]*> [#uses=1]
@bytes2 = global [4 x i8] c"\AA\BB\CC\DD" ; <[4 x i8]*> [#uses=1]
-define i32 @test1() {
+define i32 @test1() nounwind {
%y = alloca i32 ; <i32*> [#uses=2]
%c = bitcast i32* %y to i8* ; <i8*> [#uses=1]
%z = getelementptr [4 x i8]* @bytes, i32 0, i32 0 ; <i8*> [#uses=1]
@@ -19,7 +19,7 @@ define i32 @test1() {
ret i32 0
}
-define void @test2() {
+define void @test2() nounwind {
%y = alloca i32 ; <i32*> [#uses=2]
%c = bitcast i32* %y to i8* ; <i8*> [#uses=1]
%z = getelementptr [4 x i8]* @bytes2, i32 0, i32 0 ; <i8*> [#uses=1]