From: Devang Patel Date: Wed, 14 Sep 2011 00:29:50 +0000 (+0000) Subject: Remove ancient debug info constructs from test cases, they are not relevant to test... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d2aaaf3a753e4264e880674ed087d8187f7796a4;p=oota-llvm.git Remove ancient debug info constructs from test cases, they are not relevant to test case's main objective. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139675 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/Alpha/2006-04-04-zextload.ll b/test/CodeGen/Alpha/2006-04-04-zextload.ll index 2b28903c501..671d39e1bb7 100644 --- a/test/CodeGen/Alpha/2006-04-04-zextload.ll +++ b/test/CodeGen/Alpha/2006-04-04-zextload.ll @@ -2,7 +2,6 @@ target datalayout = "e-p:64:64" target triple = "alphaev67-unknown-linux-gnu" - %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i32, i8*, i8*, i8* } %struct._Callback_list = type { %struct._Callback_list*, void (i32, %struct.ios_base*, i32)*, i32, i32 } %struct._Impl = type { i32, %struct.facet**, i64, %struct.facet**, i8** } %struct._Words = type { i8*, i64 } @@ -12,7 +11,6 @@ target triple = "alphaev67-unknown-linux-gnu" %struct.ios_base = type { i32 (...)**, i64, i64, i32, i32, i32, %struct._Callback_list*, %struct._Words, [8 x %struct._Words], i32, %struct._Words*, %struct.locale } %struct.locale = type { %struct._Impl* } %"struct.ostreambuf_iterator >" = type { %"struct.basic_streambuf >"*, i1 } -@llvm.dbg.compile_unit1047 = external global %llvm.dbg.compile_unit.type ; <%llvm.dbg.compile_unit.type*> [#uses=1] define void @_ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE15_M_insert_floatIdEES3_S3_RSt8ios_baseccT_() { entry: @@ -26,9 +24,7 @@ cond_next243: ; preds = %entry %tmp428 = load i64* null ; [#uses=1] %tmp428.upgrd.1 = trunc i64 %tmp428 to i32 ; [#uses=1] %tmp429 = alloca i8, i32 %tmp428.upgrd.1 ; [#uses=0] - call void @llvm.dbg.stoppoint( i32 1146, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit1047 to { }*) ) unreachable } -declare void @llvm.dbg.stoppoint(i32, i32, { }*) diff --git a/test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll b/test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll index d49d58deeaf..ce8e72df261 100644 --- a/test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll +++ b/test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll @@ -1,13 +1,6 @@ ; RUN: llc < %s -mtriple=powerpc-apple-darwin9.5 ; rdar://6499616 - %llvm.dbg.anchor.type = type { i32, i32 } - %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } -@llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 458752, i32 17 } ; <%llvm.dbg.anchor.type*> [#uses=1] -@.str = internal constant [11 x i8] c"testcase.c\00" ; <[11 x i8]*> [#uses=1] -@.str1 = internal constant [30 x i8] c"/Volumes/SandBox/NightlyTest/\00" ; <[30 x i8]*> [#uses=1] -@.str2 = internal constant [57 x i8] c"4.2.1 (Based on Apple Inc. build 5628) (LLVM build 9999)\00" ; <[57 x i8]*> [#uses=1] -@llvm.dbg.compile_unit = internal constant %llvm.dbg.compile_unit.type { i32 458769, { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.compile_units to { }*), i32 1, i8* getelementptr ([11 x i8]* @.str, i32 0, i32 0), i8* getelementptr ([30 x i8]* @.str1, i32 0, i32 0), i8* getelementptr ([57 x i8]* @.str2, i32 0, i32 0) } ; <%llvm.dbg.compile_unit.type*> [#uses=0] @"\01LC" = internal constant [13 x i8] c"conftest.val\00" ; <[13 x i8]*> [#uses=1] define i32 @main() nounwind {