[PATCH] D61932: Fix prof branch_weights in entry_counts_missing_dbginfo.ll test
Yevgeny Rouban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 00:42:31 PDT 2019
yrouban created this revision.
yrouban added reviewers: mtrofin, davidxl.
Herald added a project: LLVM.
Removed extra parameter from !prof branch_weights metadata of a call instruction (according to the spec https://llvm.org/docs/BranchWeightMetadata.html#callinst).
This patch is needed to enable prof branch_weights verification D61179 <https://reviews.llvm.org/D61179>.
https://reviews.llvm.org/D61932
Files:
llvm/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll
Index: llvm/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll
===================================================================
--- llvm/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll
+++ llvm/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll
@@ -176,4 +176,4 @@
!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}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61932.199560.patch
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190515/8696bde5/attachment.bin>
More information about the llvm-commits
mailing list