llvm-project/llvm/test
Anna Thomas 7df1a92543 [SafepointIRVerifier] Allow deriving pointers from unrelocated base
Summary:
This patch allows to use derived pointers (GEPs/bitcasts) of unrelocated
base pointers. We care only about the uses of these derived pointers.

It is acheived by two changes:
1. When we have enough information to say if the pointer is unrelocated at some
point or not, we walk all BBs to remove from their Contributions all valid defs
of unrelocated pointers (GEP with unrelocated base or bitcast of unrelocated
pointer).
2. When it comes to verification we just ignore instructions that were removed
at stage 1.

Patch by Daniil Suchkov!

Reviewers: anna, reames, apilipenko, mkazantsev

Reviewed By: anna, mkazantsev

Subscribers: llvm-commits

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

llvm-svn: 319838
2017-12-05 21:39:37 +00:00
..
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen [X86][AVX512] Tag BLENDM instruction scheduler classes 2017-12-05 21:05:25 +00:00
DebugInfo
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
LTO
Linker
MC [DWARFv5] Emit v5 line table header. 2017-12-05 20:35:00 +00:00
Object
ObjectYAML
Other
SafepointIRVerifier [SafepointIRVerifier] Allow deriving pointers from unrelocated base 2017-12-05 21:39:37 +00:00
SymbolRewriter
TableGen
ThinLTO/X86
Transforms [CVP] Remove some {s|u}sub.with.overflow checks. 2017-12-05 18:14:24 +00:00
Unit
Verifier
YAMLParser
tools Simplify test. 2017-12-05 18:26:23 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in