llvm-project/llvm/test
Wei Mi ee35784a90 [SampleFDO] Support enabling -funique-internal-linkage-name.
now -funique-internal-linkage-name flag is available, and we want to flip
it on by default since it is beneficial to have separate sample profiles
for different internal symbols with the same name. As a preparation, we
want to avoid regression caused by the flip.

When we flip -funique-internal-linkage-name on, the profile is collected
from binary built without -funique-internal-linkage-name so it has no uniq
suffix, but the IR in the optimized build contains the suffix. This kind of
mismatch may introduce transient regression.

To avoid such mismatch, we introduce a NameTable section flag indicating
whether there is any name in the profile containing uniq suffix. Compiler
will decide whether to keep uniq suffix during name canonicalization
depending on the NameTable section flag. The flag is only available for
extbinary format. For other formats, by default compiler will keep uniq
suffix so they will only experience transient regression when
-funique-internal-linkage-name is just flipped.

Another type of regression is caused by places where we miss to call
getCanonicalFnName. Those places are fixed.

Differential Revision: https://reviews.llvm.org/D96932
2021-03-09 21:41:40 -08:00
..
Analysis [test] precommit tests from D98222 2021-03-09 12:39:47 -08:00
Assembler [Assembler] Fix global icmp test 2021-03-08 17:26:49 +01:00
Bindings LLVM-C: Allow LLVM{Get/Set}Alignment on an atomicrmw/cmpxchg instruction. 2021-02-12 18:31:18 -05:00
Bitcode [ObjC][ARC] Use operand bundle 'clang.arc.attachedcall' instead of 2021-03-04 11:22:30 -08:00
BugPoint
CodeGen [P10] [Power PC] Exploiting new load rightmost vector element instructions. 2021-03-09 16:08:17 -05:00
DebugInfo [DebugInfo] Process DBG_VALUE_LIST in LiveDebugValues 2021-03-09 18:58:26 +00:00
Demangle
Examples Revert "patch" it wass my mistake inusing git 2021-02-24 11:06:16 +05:30
ExecutionEngine [JITLink] Add support for STT_NOTYPE symbols to ELF/x86-64. 2021-03-09 20:40:24 -08:00
Feature [DCE] Don't remove non-willreturn calls 2021-02-19 12:35:40 +01:00
FileCheck [FileCheck][NFC] Move -dump-input tests to a subdirectory 2021-03-04 12:43:48 -05:00
Instrumentation [dfsan] Tracking origins at memory transfer 2021-03-09 22:15:07 +00:00
Integer
JitListener
LTO [DCE] Don't remove non-willreturn calls 2021-02-19 12:35:40 +01:00
Linker [llvm] Change DSOLocalEquivalent type if the underlying global value type changes 2021-03-09 15:09:48 -08:00
MC Add requirement for aarch64-registered-target to test change added in 42e3f97a9d. 2021-03-09 12:26:15 -08:00
MachineVerifier GlobalISel: Verify G_CONCAT_VECTORS has at least 2 sources 2021-03-01 09:10:36 -05:00
Object [AMDGPU] gfx90a support 2021-02-17 16:01:32 -08:00
ObjectYAML [WebAssembly][yaml2obj][obj2yaml] Elem sections for nonzero tables 2021-03-05 11:45:15 +01:00
Other [opt] Error if -debug-pass is specified alongside the new PM 2021-03-02 15:59:28 -08:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [MCA] Add support for in-order CPUs 2021-03-04 14:08:19 +03:00
ThinLTO/X86 [llvm] Change DSOLocalEquivalent type if the underlying global value type changes 2021-03-09 15:09:48 -08:00
Transforms [SampleFDO] Support enabling -funique-internal-linkage-name. 2021-03-09 21:41:40 -08:00
Unit Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
Verifier [ObjC][ARC] Use operand bundle 'clang.arc.attachedcall' instead of 2021-03-04 11:22:30 -08:00
YAMLParser
tools Revert "[llvm-cov] reset executation count to 0 after wrapped segment" 2021-03-09 14:47:32 -08:00
.clang-format
CMakeLists.txt Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00