llvm-mirror/test
Robert Lougher 06d3099445 Reapply: "Remove debug location from common tail when tail-merging"
This reapplies revision 285093.  Original commit message:

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: 285212
2016-10-26 17:01:47 +00:00
..
Analysis [AliasSetTracker] Make AST smarter about intrinsics that don't actually affect memory. 2016-10-26 12:42:11 +00:00
Assembler
Bindings
Bitcode DebugInfo: add bitcode upgrade test for alignment 2016-10-26 08:34:19 +00:00
BugPoint Add -strip-nonlinetable-debuginfo capability 2016-10-25 18:44:13 +00:00
CodeGen AMDGPU: Refactor processor definition to use ISA version features 2016-10-26 16:37:56 +00:00
DebugInfo Reapply: "Remove debug location from common tail when tail-merging" 2016-10-26 17:01:47 +00:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
LibDriver
Linker
LTO
MC [MC] Fix Various End Of Line Comment checkings 2016-10-24 14:35:29 +00:00
Object Use printf instead of "echo -e" or "echo -n". 2016-10-26 01:07:26 +00:00
ObjectYAML
Other
SymbolRewriter
TableGen
ThinLTO/X86
tools [XRay] Be case-insensitive for error strings 2016-10-26 05:10:39 +00:00
Transforms Introduce updateDiscriminator interface to DILocation to make it cleaner assigning discriminators. 2016-10-26 15:48:45 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt [XRay] Add llvm-xray as a dependency to test/CMakeLists.txt 2016-10-26 04:16:05 +00:00
lit.cfg [XRay] Implement llvm-xray extract, start of the llvm-xray tool 2016-10-26 04:14:34 +00:00
lit.site.cfg.in
TestRunner.sh