[llvm] r360843 - Fix prof branch_weights in entry_counts_missing_dbginfo.ll test

Yevgeny Rouban via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 20:39:09 PDT 2019


Author: yrouban
Date: Wed May 15 20:39:09 2019
New Revision: 360843

URL: http://llvm.org/viewvc/llvm-project?rev=360843&view=rev
Log:
Fix prof branch_weights in entry_counts_missing_dbginfo.ll test

Removed extra parameter from !prof branch_weights metadata of
a call instruction according to the spec.

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

Modified:
    llvm/trunk/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll

Modified: llvm/trunk/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll?rev=360843&r1=360842&r2=360843&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll (original)
+++ llvm/trunk/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll Wed May 15 20:39:09 2019
@@ -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}




More information about the llvm-commits mailing list