brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.2 KiB · 821b0ac Raw
36 lines · plain
1// RUN: mlir-opt -verify-roundtrip %s2 3#access_group = #llvm.access_group<id = distinct[0]<>>4#access_group1 = #llvm.access_group<id = distinct[1]<>>5#di_subprogram = #llvm.di_subprogram<recId = distinct[2]<>>6#loc1 = loc("test.f90":12:14)7#loc2 = loc("test":4:3)8#loc6 = loc(fused<#di_subprogram>[#loc1])9#loc7 = loc(fused<#di_subprogram>[#loc2])10#loop_annotation = #llvm.loop_annotation<disableNonforced = false, mustProgress = true, startLoc = #loc6, endLoc = #loc7, parallelAccesses = #access_group, #access_group1>11module {12  llvm.func @imp_fn() {13    llvm.return loc(#loc2)14  } loc(#loc8)15  llvm.func @loop_annotation_with_locs() {16    llvm.br ^bb1 {loop_annotation = #loop_annotation} loc(#loc4)17  ^bb1:  // pred: ^bb018    llvm.return loc(#loc5)19  } loc(#loc3)20} loc(#loc)21#di_file = #llvm.di_file<"test.f90" in "">22#di_subroutine_type = #llvm.di_subroutine_type<callingConvention = DW_CC_program>23#loc = loc("test":0:0)24#loc3 = loc("test-path":36:3)25#loc4 = loc("test-path":37:5)26#loc5 = loc("test-path":39:5)27#di_compile_unit = #llvm.di_compile_unit<id = distinct[3]<>, sourceLanguage = DW_LANG_Fortran95, file = #di_file, isOptimized = false, emissionKind = Full>28#di_compile_unit1 = #llvm.di_compile_unit<id = distinct[4]<>, sourceLanguage = DW_LANG_Fortran95, file = #di_file, isOptimized = false, emissionKind = Full>29#di_compile_unit2 = #llvm.di_compile_unit<id = distinct[5]<>, sourceLanguage = DW_LANG_Fortran95, file = #di_file, isOptimized = false, emissionKind = Full>30#di_module = #llvm.di_module<file = #di_file, scope = #di_compile_unit1, name = "mod1">31#di_module1 = #llvm.di_module<file = #di_file, scope = #di_compile_unit2, name = "mod2">32#di_imported_entity = #llvm.di_imported_entity<tag = DW_TAG_imported_module, scope = #di_subprogram, entity = #di_module, file = #di_file, line = 1>33#di_imported_entity1 = #llvm.di_imported_entity<tag = DW_TAG_imported_module, scope = #di_subprogram, entity = #di_module1, file = #di_file, line = 1>34#di_subprogram1 = #llvm.di_subprogram<recId = distinct[2]<>, id = distinct[6]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "imp_fn", file = #di_file, subprogramFlags = Definition, type = #di_subroutine_type, retainedNodes = #di_imported_entity, #di_imported_entity1>35#loc8 = loc(fused<#di_subprogram1>[#loc1])36