llvm-project/llvm/test
Robert Lougher e32564774c Remove debug location from common tail when tail-merging
The branch folding pass tail merges blocks into a common-tail.  However, the
tail retains the debug information from one of the original inputs to the
merge (chosen randomly).  This is a problem for sampled-based PGO, as hits
on the common-tail will be attributed to whichever block was chosen,
irrespective of which path was actually taken to the common-tail.

This patch fixes the issue by nulling the debug location for the common-tail.

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

llvm-svn: 285093
2016-10-25 18:44:07 +00:00
..
Analysis Fix regression from my recent GlobalsAA fix. 2016-10-24 21:47:44 +00:00
Assembler DebugInfo: preparation to implement DW_AT_alignment 2016-10-20 00:13:12 +00:00
Bindings
Bitcode DebugInfo: remove broken bitcode upgrade test 2016-10-20 00:26:36 +00:00
BugPoint Disable fatal errors in the Verifier instantiated by bugpoint's crash 2016-10-18 16:24:43 +00:00
CodeGen [WebAssembly] Add immediate fields to call_indirect and memory operators. 2016-10-25 16:55:52 +00:00
DebugInfo Remove debug location from common tail when tail-merging 2016-10-25 18:44:07 +00:00
Demangle
Examples
ExecutionEngine Fix PREL31 relocation on ARM 2016-10-20 21:15:29 +00:00
Feature
FileCheck
Instrumentation [asan] Append line number to variable name if line is available and in the same file as the function. 2016-10-18 23:29:41 +00:00
Integer
JitListener
LTO LTO: Use the correct mangler function in LTOCodeGenerator::applyScopeRestrictions(). 2016-10-12 20:12:19 +00:00
LibDriver
Linker Fix autoupgrade logic for Objective-C class properties module flag 2016-09-16 00:38:18 +00:00
MC [MC] Fix Various End Of Line Comment checkings 2016-10-24 14:35:29 +00:00
Object nother additional error check for an invalid Mach-O file 2016-10-24 21:15:11 +00:00
ObjectYAML
Other [PM] Port CFGViewer and CFGPrinter to the new Pass Manager 2016-09-15 18:35:27 +00:00
SymbolRewriter
TableGen [TableGen] AsmMatcher: Add AsmVariantName to Instruction class. 2016-09-08 15:50:52 +00:00
ThinLTO/X86 [ThinLTO] Don't link module level assembly when importing 2016-10-12 18:39:29 +00:00
Transforms [EarlyCSE] Make MemorySSA memory dependency check more aggressive. 2016-10-25 16:18:47 +00:00
Unit
Verifier Verifier: Reject any unknown named MD nodes in the llvm.dbg namespace. 2016-10-05 22:15:37 +00:00
YAMLParser
tools [llvm-cov] Add support for loading coverage from multiple objects 2016-10-25 17:40:55 +00:00
.clang-format
CMakeLists.txt Add an llvm-opt-report tool to generate basic source-annotated optimization summaries 2016-10-05 22:10:35 +00:00
TestRunner.sh
lit.cfg cmake: Install the OCaml libraries into a more correct path 2016-09-30 18:34:23 +00:00
lit.site.cfg.in