[llvm] [InlineCost] Enable the cost benefit analysis for Sample PGO (PR #66457)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 19:19:27 PDT 2023


HaohaiWen wrote:

I can't reproduce it on my machine. Let's revert it first.
```
Check file: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
           20:  [15] .pseudo_probe_desc PROGBITS 0000000000000000 0000ad 000015 00 G 0 0 1 
           21:  [16] .note.GNU-stack PROGBITS 0000000000000000 0000c2 000000 00 0 0 1 
           22:  [17] .eh_frame X86_64_UNWIND 0000000000000000 0000c8 000058 00 A 0 0 8 
           23:  [18] .rela.eh_frame RELA 0000000000000000 000300 000048 18 I 22 17 8 
           24:  [19] .pseudo_probe PROGBITS 0000000000000000 000120 000013 00 L 5 0 1 
           25:  [20] .pseudo_probe PROGBITS 0000000000000000 000133 00000d 00 LG 8 0 1 
next:141'0                                                                            X error: no match found
           26:  [21] .pseudo_probe PROGBITS 0000000000000000 000140 000019 00 L 3 0 1 
next:141'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:141'1         ?                                                                   possible intended match
           27:  [22] .symtab SYMTAB 0000000000000000 000180 000138 18 1 9 8 
next:141'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           28: Key to Flags: 
next:141'0     ~~~~~~~~~~~~~~
           29:  W (write), A (alloc), X (execute), M (merge), S (strings), I (info), 
next:141'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           30:  L (link order), O (extra OS processing required), G (group), T (TLS), 
next:141'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           31:  C (compressed), x (unknown), o (OS specific), E (exclude), 
next:141'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           32:  R (retain), l (large), p (processor specific) 
next:141'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

********************

```

https://github.com/llvm/llvm-project/pull/66457


More information about the llvm-commits mailing list