1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/ProfileData
Fangrui Song 4e9b56ee13 Revert D81682 "[PGO] Extend the value profile buckets for mem op sizes."
This reverts commit 4a539faf74b9b4c25ee3b880e4007564bd5139b0.

There is a __llvm_profile_instrument_range related crash in PGO-instrumented clang:

```
(gdb) bt
llvm::ConstantRange const&, llvm::APInt const&, unsigned int, bool) ()
llvm::ScalarEvolution::getRangeForAffineAR(llvm::SCEV const*, llvm::SCEV
const*, llvm::SCEV const*, unsigned int) ()
```

(The body of __llvm_profile_instrument_range is inlined, so we can only find__llvm_profile_instrument_target in the trace)

```
 23│    0x000055555dba0961 <+65>:    nopw   %cs:0x0(%rax,%rax,1)
 24│    0x000055555dba096b <+75>:    nopl   0x0(%rax,%rax,1)
 25│    0x000055555dba0970 <+80>:    mov    %rsi,%rbx
 26│    0x000055555dba0973 <+83>:    mov    0x8(%rsi),%rsi  # %rsi=-1 -> SIGSEGV
 27│    0x000055555dba0977 <+87>:    cmp    %r15,(%rbx)
 28│    0x000055555dba097a <+90>:    je     0x55555dba0a76 <__llvm_profile_instrument_target+342>
```
2020-07-22 16:08:25 -07:00
..
Coverage [Coverage] Collect all function records in an object (D69471 followup) 2020-03-02 12:01:09 -08:00
CMakeLists.txt
GCOV.cpp [llvm-cov gcov] Don't require NUL terminator when reading files 2020-07-19 00:31:52 -07:00
InstrProf.cpp Revert D81682 "[PGO] Extend the value profile buckets for mem op sizes." 2020-07-22 16:08:25 -07:00
InstrProfReader.cpp [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
InstrProfWriter.cpp [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
LLVMBuild.txt
ProfileSummaryBuilder.cpp [NFC] Change getEntryForPercentile to be a static function in ProfileSummaryBuilder. 2020-07-09 16:38:19 -07:00
SampleProf.cpp [SampleFDO] Port MD5 name table support to extbinary format. 2020-03-30 22:07:08 -07:00
SampleProfReader.cpp [gcov] Fix .gcda decoding and support GCC 8, 9 and 10 2020-05-10 09:55:23 -07:00
SampleProfWriter.cpp [SampleFDO] Port MD5 name table support to extbinary format. 2020-03-30 22:07:08 -07:00