1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test
Jay Foad 4b1a7112ea [DivergenceAnalysis] Add methods for querying divergence at use
Summary:
The existing isDivergent(Value) methods query whether a value is
divergent at its definition. However even if a value is uniform at its
definition, a use of it in another basic block can be divergent because
of divergent control flow between the def and the use.

This patch adds new isDivergent(Use) methods to DivergenceAnalysis,
LegacyDivergenceAnalysis and GPUDivergenceAnalysis.

This might allow D63953 or other similar workarounds to be removed.

Reviewers: alex-t, nhaehnle, arsenm, rtaylor, rampitec, simoll, jingyue

Reviewed By: nhaehnle

Subscribers: jfb, jvesely, wdng, hiraditya, llvm-commits

Tags: #llvm

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

llvm-svn: 367218
2019-07-29 10:22:09 +00:00
..
Analysis [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
Assembler
Bindings [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
Bitcode [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
BugPoint
CodeGen [DivergenceAnalysis] Add methods for querying divergence at use 2019-07-29 10:22:09 +00:00
DebugInfo
Demangle
Examples
ExecutionEngine
Feature [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO
MachineVerifier
MC Mark test/MC/RISCV/rv{32,64}i-aliases-invalid.s unsupported also on Windows 2019-07-29 09:49:04 +00:00
Object
ObjectYAML
Other [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86
tools [obj2yaml] - Report a error when unable to resolve a sh_link reference properly. 2019-07-29 07:58:29 +00:00
Transforms [NFC][InstCombine] Revisit tests in shift-amount-reassociation-with-truncation-shl.ll 2019-07-28 21:31:58 +00:00
Unit
Verifier [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh