llvm/test
Rong Xu e72670cb54 [PGO] Fix PGO use ICE when there are unreachable BBs
For -O0 there might be unreachable BBs, which breaks the assumption that all the
BBs have an auxiliary data structure.  In this patch, we add another interface
called findBBInfo() so that a nullptr can be returned for the unreachable BBs
(and the callers can ignore those BBs).

This fixes the bug reported
https://llvm.org/bugs/show_bug.cgi?id=31209

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288528 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-02 19:10:29 +00:00
..
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen [SystemZ] Support floating-point control register instructions 2016-12-02 18:21:53 +00:00
DebugInfo [DWARF] Put linkage-name on abstract origin even when there's a declaration. 2016-12-02 01:55:17 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
LibDriver
Linker [ThinLTO] Stop importing constant global vars as copies in the backend 2016-12-02 01:02:30 +00:00
LTO [LTOs] Allow generation of hotness information 2016-12-02 17:53:56 +00:00
MC [SystemZ] Support remaining atomic instructions 2016-12-02 18:24:16 +00:00
Object
ObjectYAML
Other
SymbolRewriter
TableGen
ThinLTO/X86 [LTOs] Allow generation of hotness information 2016-12-02 17:53:56 +00:00
tools llvm-modextract: Call keep() on the output stream before exiting. 2016-12-01 23:13:11 +00:00
Transforms [PGO] Fix PGO use ICE when there are unreachable BBs 2016-12-02 19:10:29 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh