@@ -5,7 +5,7 @@ source_filename = "LFortran"
55@1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
66@2 = private unnamed_addr constant [5 x i8] c"%d%s\00", align 1
77
8- define void @__module___main_____main__global_stmts() !dbg !2 {
8+ define void @__module___main_____main__global_stmts() !dbg !3 {
99.entry:
1010 call void @__module___main___main0(), !dbg !6
1111 br label %return, !dbg !6
@@ -33,7 +33,7 @@ return: ; preds = %.entry
3333 ret void, !dbg !21
3434}
3535
36- ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
36+ ; Function Attrs: nounwind readnone speculatable willreturn
3737declare void @llvm.dbg.declare(metadata, metadata, metadata) #0
3838
3939declare void @_lfortran_printf(i8*, ...)
@@ -47,18 +47,18 @@ define i32 @main(i32 %0, i8** %1) !dbg !22 {
4747
4848declare void @_lpython_call_initial_functions(i32, i8**)
4949
50- attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
50+ attributes #0 = { nounwind readnone speculatable willreturn }
5151
5252!llvm.dbg.cu = !{!0}
5353
54- !0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "LPython Compiler", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug)
54+ !0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "LPython Compiler", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2 )
5555!1 = !DIFile(filename: "tests/expr_01.py", directory: ".")
56- !2 = distinct !DISubprogram(name: "__main__global_stmts", scope: !1, file: !1, line: 1, type: !3, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !5)
57- !3 = !DISubroutineType(types: !4 )
58- !4 = !{null}
59- !5 = !{}
60- !6 = !DILocation(line: 9, column: 1, scope: !2 )
61- !7 = distinct !DISubprogram(name: "main0", scope: !1, file: !1, line: 1, type: !3 , flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !5 )
56+ !2 = !{}
57+ !3 = distinct !DISubprogram(name: "__main__global_stmts", scope: !1, file: !1, line: 1, type: !4, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2 )
58+ !4 = !DISubroutineType(types: !5)
59+ !5 = !{null }
60+ !6 = !DILocation(line: 9, column: 1, scope: !3 )
61+ !7 = distinct !DISubprogram(name: "main0", scope: !1, file: !1, line: 1, type: !4 , flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2 )
6262!8 = !DILocation(line: 1, column: 1, scope: !7)
6363!9 = !DILocalVariable(name: "x", arg: 1, scope: !7, file: !1, line: 2, type: !10)
6464!10 = !DIBasicType(name: "integer", size: 32, encoding: DW_ATE_signed)
@@ -73,7 +73,7 @@ attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memo
7373!19 = !DIBasicType(name: "double", size: 64, encoding: DW_ATE_float)
7474!20 = !DILocation(line: 5, scope: !7)
7575!21 = !DILocation(line: 6, column: 5, scope: !7)
76- !22 = distinct !DISubprogram(name: "main_program", scope: !1, file: !1, line: 1, type: !23, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !5 )
76+ !22 = distinct !DISubprogram(name: "main_program", scope: !1, file: !1, line: 1, type: !23, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2 )
7777!23 = !DISubroutineType(types: !24)
7878!24 = !{!10}
7979!25 = !DILocation(line: 1, column: 1, scope: !22)
0 commit comments