Fix prof branch_weights in entry_counts_missing_dbginfo.ll test
authorYevgeny Rouban <yevgeny.rouban@azul.com>
Thu, 16 May 2019 03:39:09 +0000 (03:39 +0000)
committerYevgeny Rouban <yevgeny.rouban@azul.com>
Thu, 16 May 2019 03:39:09 +0000 (03:39 +0000)
Removed extra parameter from !prof branch_weights metadata of
a call instruction according to the spec.

Differential Revision: https://reviews.llvm.org/D61932

llvm-svn: 360843

llvm/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll

index 715bcc9..9ec41d1 100644 (file)
@@ -176,4 +176,4 @@ attributes #4 = { nounwind }
 !55 = !DILocation(line: 21, column: 8, scope: !48)
 !56 = !DILocation(line: 22, column: 10, scope: !48)
 !57 = !DILocation(line: 22, column: 3, scope: !48)
-!100 = !{!"branch_weights", i32 5, i32 10}
+!100 = !{!"branch_weights", i32 5}