Remove ancient debug info constructs from test cases, they are not relevant to test...
authorDevang Patel <dpatel@apple.com>
Wed, 14 Sep 2011 00:29:50 +0000 (00:29 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 14 Sep 2011 00:29:50 +0000 (00:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139675 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Alpha/2006-04-04-zextload.ll
test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll

index 2b28903c5014837ff681e02eb3dc92755e9657cc..671d39e1bb7bc2a714aa2f7e51341a906f00f402 100644 (file)
@@ -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<char,std::char_traits<char> >" = type { %"struct.basic_streambuf<char,std::char_traits<char> >"*, 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                ; <i64> [#uses=1]
         %tmp428.upgrd.1 = trunc i64 %tmp428 to i32              ; <i32> [#uses=1]
         %tmp429 = alloca i8, i32 %tmp428.upgrd.1                ; <i8*> [#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, {  }*)
 
index d49d58deeafff26069d6a4384f9900fb74608730..ce8e72df261620d5b13a0904b4f3172e26f7b47e 100644 (file)
@@ -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 {