[mips] [IAS] Rename the createShiftOr function to createLShiftOri. NFC.
[oota-llvm.git] / test / DebugInfo / constant-sdnodes-have-dbg-location.ll
1 ; RUN: llc -debug < %s 2>&1 | FileCheck %s
2
3 ; CHECK: 0x{{[0-9,a-f]+}}: i32 = Constant<-1>test.c:4:5
4
5 define i32 @main() {
6 entry:
7   %retval = alloca i32, align 4
8   store i32 0, i32* %retval
9   ret i32 -1, !dbg !10
10 }
11
12 !llvm.dbg.cu = !{!0}
13 !llvm.module.flags = !{!8, !9}
14
15 !0 = !MDCompileUnit(language: DW_LANG_C99, file: !1, producer: "", isOptimized: false, subprograms: !3)
16 !1 = !MDFile(filename: "test.c", directory: "/home/user/clang-llvm/build")
17 !2 = !{}
18 !3 = !{!4}
19 !4 = !MDSubprogram(name: "main", scope: !1, file: !1, line: 2, type: !5, isLocal: false, isDefinition: true, scopeLine: 3, flags: DIFlagPrototyped, isOptimized: false, function: i32 ()* @main, variables: !2)
20 !5 = !MDSubroutineType(types: !6)
21 !6 = !{!7}
22 !7 = !MDBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
23 !8 = !{i32 2, !"Dwarf Version", i32 4}
24 !9 = !{i32 2, !"Debug Info Version", i32 3}
25 !10 = !MDLocation(line: 4, column: 5, scope: !4)