summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-27 03:14:20 +0000
committerChris Lattner <sabre@nondot.org>2008-06-27 03:14:20 +0000
commitbd2acd736d9c59d814f0e30db6cde53df2ac004c (patch)
treeba37d0c03832022e0fe15d0304c7af3a88a81295 /test/CodeGen
parenta534b0f7bf0248bf90afe97110a34777e972f325 (diff)
downloadllvm-bd2acd736d9c59d814f0e30db6cde53df2ac004c.tar.gz
llvm-bd2acd736d9c59d814f0e30db6cde53df2ac004c.tar.bz2
llvm-bd2acd736d9c59d814f0e30db6cde53df2ac004c.tar.xz
test doesn't need eh info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-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 e0edd2d45a..a58bedc28d 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]