DI: Require subprogram definitions to be distinct
[oota-llvm.git] / test / Transforms / LoopVectorize / X86 / vectorization-remarks-profitable.ll
index a8f256bb3ea1118b2c20a89d117cea025f36e398..dd6bfd0a156ae697982cc5c4a24ddea55a0b526a 100644 (file)
@@ -88,7 +88,7 @@ attributes #0 = { nounwind }
 !1 = !{i32 1, !"PIC Level", i32 2}
 !2 = !{!"clang version 3.7.0"}
 !3 = !DILocation(line: 3, column: 20, scope: !4)
-!4 = !DISubprogram(name: "do_not_interleave", scope: !5, file: !5, line: 1, type: !6, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: true, function: void (float*, float*, i32)* @do_not_interleave, variables: !7)
+!4 = distinct !DISubprogram(name: "do_not_interleave", scope: !5, file: !5, line: 1, type: !6, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: true, function: void (float*, float*, i32)* @do_not_interleave, variables: !7)
 !5 = !DIFile(filename: "vectorization-remarks-profitable.c", directory: "")
 !6 = !DISubroutineType(types: !7)
 !7 = !{}
@@ -105,7 +105,7 @@ attributes #0 = { nounwind }
 !18 = !{!"llvm.loop.interleave.count", i32 1}
 !19 = !{!"llvm.loop.unroll.disable"}
 !20 = !DILocation(line: 10, column: 20, scope: !21)
-!21 = !DISubprogram(name: "interleave_not_profitable", scope: !5, file: !5, line: 8, type: !6, isLocal: false, isDefinition: true, scopeLine: 8, flags: DIFlagPrototyped, isOptimized: true, function: void (float*, float*, i32)* @interleave_not_profitable, variables: !7)
+!21 = distinct !DISubprogram(name: "interleave_not_profitable", scope: !5, file: !5, line: 8, type: !6, isLocal: false, isDefinition: true, scopeLine: 8, flags: DIFlagPrototyped, isOptimized: true, function: void (float*, float*, i32)* @interleave_not_profitable, variables: !7)
 !22 = !DILocation(line: 10, column: 3, scope: !21)
 !23 = !DILocation(line: 11, column: 14, scope: !21)
 !24 = !DILocation(line: 13, column: 1, scope: !21)