diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 22:08:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 22:08:18 +0000 |
commit | 13a7db5b9c4f5e543d037be68ec3428216bfd550 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll | |
parent | 0eb46f5d1e06a4284663d636a74b06adc3a161d7 (diff) | |
parent | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (diff) | |
download | external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.zip external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.gz external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.bz2 |
am 31195f0b: Merge "Update aosp/master llvm for rebase to r233350"
* commit '31195f0bdca6ee2a5e72d07edf13e1d81206d949':
Update aosp/master llvm for rebase to r233350
Diffstat (limited to 'test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll')
-rw-r--r-- | test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll b/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll index e6202f9..6c07473 100644 --- a/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll +++ b/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll @@ -24,46 +24,46 @@ entry: %2 = alloca i64 ; <i64*> [#uses=1] %3 = alloca i64 ; <i64*> [#uses=6] %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0] - call void @llvm.dbg.declare(metadata i8** %s1_addr, metadata !0, metadata !{!"0x102"}), !dbg !7 + call void @llvm.dbg.declare(metadata i8** %s1_addr, metadata !0, metadata !MDExpression()), !dbg !7 store i8* %s1, i8** %s1_addr - call void @llvm.dbg.declare(metadata [0 x i8]** %str.0, metadata !8, metadata !{!"0x102"}), !dbg !7 + call void @llvm.dbg.declare(metadata [0 x i8]** %str.0, metadata !8, metadata !MDExpression()), !dbg !7 %4 = call i8* @llvm.stacksave(), !dbg !7 ; <i8*> [#uses=1] store i8* %4, i8** %saved_stack.1, align 8, !dbg !7 - %5 = load i8** %s1_addr, align 8, !dbg !13 ; <i8*> [#uses=1] + %5 = load i8*, i8** %s1_addr, align 8, !dbg !13 ; <i8*> [#uses=1] %6 = call i64 @strlen(i8* %5) nounwind readonly, !dbg !13 ; <i64> [#uses=1] %7 = add i64 %6, 1, !dbg !13 ; <i64> [#uses=1] store i64 %7, i64* %3, align 8, !dbg !13 - %8 = load i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] + %8 = load i64, i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] %9 = sub nsw i64 %8, 1, !dbg !13 ; <i64> [#uses=0] - %10 = load i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] + %10 = load i64, i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] %11 = mul i64 %10, 8, !dbg !13 ; <i64> [#uses=0] - %12 = load i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] + %12 = load i64, i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] store i64 %12, i64* %2, align 8, !dbg !13 - %13 = load i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] + %13 = load i64, i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] %14 = mul i64 %13, 8, !dbg !13 ; <i64> [#uses=0] - %15 = load i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] + %15 = load i64, i64* %3, align 8, !dbg !13 ; <i64> [#uses=1] store i64 %15, i64* %1, align 8, !dbg !13 - %16 = load i64* %1, align 8, !dbg !13 ; <i64> [#uses=1] + %16 = load i64, i64* %1, align 8, !dbg !13 ; <i64> [#uses=1] %17 = trunc i64 %16 to i32, !dbg !13 ; <i32> [#uses=1] %18 = alloca i8, i32 %17, !dbg !13 ; <i8*> [#uses=1] %19 = bitcast i8* %18 to [0 x i8]*, !dbg !13 ; <[0 x i8]*> [#uses=1] store [0 x i8]* %19, [0 x i8]** %str.0, align 8, !dbg !13 - %20 = load [0 x i8]** %str.0, align 8, !dbg !15 ; <[0 x i8]*> [#uses=1] - %21 = getelementptr inbounds [0 x i8]* %20, i64 0, i64 0, !dbg !15 ; <i8*> [#uses=1] + %20 = load [0 x i8]*, [0 x i8]** %str.0, align 8, !dbg !15 ; <[0 x i8]*> [#uses=1] + %21 = getelementptr inbounds [0 x i8], [0 x i8]* %20, i64 0, i64 0, !dbg !15 ; <i8*> [#uses=1] store i8 0, i8* %21, align 1, !dbg !15 - %22 = load [0 x i8]** %str.0, align 8, !dbg !16 ; <[0 x i8]*> [#uses=1] - %23 = getelementptr inbounds [0 x i8]* %22, i64 0, i64 0, !dbg !16 ; <i8*> [#uses=1] - %24 = load i8* %23, align 1, !dbg !16 ; <i8> [#uses=1] + %22 = load [0 x i8]*, [0 x i8]** %str.0, align 8, !dbg !16 ; <[0 x i8]*> [#uses=1] + %23 = getelementptr inbounds [0 x i8], [0 x i8]* %22, i64 0, i64 0, !dbg !16 ; <i8*> [#uses=1] + %24 = load i8, i8* %23, align 1, !dbg !16 ; <i8> [#uses=1] %25 = sext i8 %24 to i32, !dbg !16 ; <i32> [#uses=1] store i32 %25, i32* %0, align 4, !dbg !16 - %26 = load i8** %saved_stack.1, align 8, !dbg !16 ; <i8*> [#uses=1] + %26 = load i8*, i8** %saved_stack.1, align 8, !dbg !16 ; <i8*> [#uses=1] call void @llvm.stackrestore(i8* %26), !dbg !16 - %27 = load i32* %0, align 4, !dbg !16 ; <i32> [#uses=1] + %27 = load i32, i32* %0, align 4, !dbg !16 ; <i32> [#uses=1] store i32 %27, i32* %retval, align 4, !dbg !16 br label %return, !dbg !16 return: ; preds = %entry - %retval1 = load i32* %retval, !dbg !16 ; <i32> [#uses=1] + %retval1 = load i32, i32* %retval, !dbg !16 ; <i32> [#uses=1] %retval12 = trunc i32 %retval1 to i8, !dbg !16 ; <i8> [#uses=1] ret i8 %retval12, !dbg !16 } @@ -76,22 +76,22 @@ declare i64 @strlen(i8*) nounwind readonly declare void @llvm.stackrestore(i8*) nounwind -!0 = !{!"0x101\00s1\002\000", !1, !2, !6} ; [ DW_TAG_arg_variable ] -!1 = !{!"0x2e\00foo\00foo\00foo\002\000\001\000\006\000\000\000", i32 0, !2, !3, null, null, null, null, null} ; [ DW_TAG_subprogram ] -!2 = !{!"0x11\001\004.2.1 (Based on Apple Inc. build 5658) (LLVM build)\001\00\000\00\000", !17, !18, !18, null, null, null} ; [ DW_TAG_compile_unit ] -!3 = !{!"0x15\00\000\000\000\000\000\000", null, !2, null, !4, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] +!0 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "s1", line: 2, arg: 0, scope: !1, file: !2, type: !6) +!1 = !MDSubprogram(name: "foo", linkageName: "foo", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, scope: !2, type: !3) +!2 = !MDCompileUnit(language: DW_LANG_C89, producer: "4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", isOptimized: true, emissionKind: 0, file: !17, enums: !18, retainedTypes: !18) +!3 = !MDSubroutineType(types: !4) !4 = !{!5, !6} -!5 = !{!"0x24\00char\000\008\008\000\000\006", null, !2} ; [ DW_TAG_base_type ] -!6 = !{!"0xf\00\000\0064\0064\000\000", null, !2, !5} ; [ DW_TAG_pointer_type ] +!5 = !MDBasicType(tag: DW_TAG_base_type, name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char) +!6 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, scope: !2, baseType: !5) !7 = !MDLocation(line: 2, scope: !1) -!8 = !{!"0x100\00str.0\003\000", !1, !2, !9} ; [ DW_TAG_auto_variable ] -!9 = !{!"0xf\00\000\0064\0064\000\0064", null, !2, !10} ; [ DW_TAG_pointer_type ] -!10 = !{!"0x1\00\000\008\008\000\000", null, !2, !5, !11, i32 0, null, null, null} ; [ DW_TAG_array_type ] [line 0, size 8, align 8, offset 0] [from char] +!8 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "str.0", line: 3, scope: !1, file: !2, type: !9) +!9 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial, scope: !2, baseType: !10) +!10 = !MDCompositeType(tag: DW_TAG_array_type, size: 8, align: 8, scope: !2, baseType: !5, elements: !11) !11 = !{!12} -!12 = !{!"0x21\000\001"} ; [ DW_TAG_subrange_type ] +!12 = !MDSubrange(count: 1) !13 = !MDLocation(line: 3, scope: !14) -!14 = !{!"0xb\000\000\000", !17, !1} ; [ DW_TAG_lexical_block ] +!14 = distinct !MDLexicalBlock(line: 0, column: 0, file: !17, scope: !1) !15 = !MDLocation(line: 4, scope: !14) !16 = !MDLocation(line: 5, scope: !14) -!17 = !{!"vla.c", !"/tmp/"} +!17 = !MDFile(filename: "vla.c", directory: "/tmp/") !18 = !{i32 0} |