1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test
Sanjoy Das ca2c8b410a Add an "addUsedAAAnalyses" helper function
Summary:
Passes that call `getAnalysisIfAvailable<T>` also need to call
`addUsedIfAvailable<T>` in `getAnalysisUsage` to indicate to the
legacy pass manager that it uses `T`.  This contract was being
violated by passes that used `createLegacyPMAAResults`.  This change
fixes this by exposing a helper in AliasAnalysis.h,
`addUsedAAAnalyses`, that is complementary to createLegacyPMAAResults
and does the right thing when called from `getAnalysisUsage`.

Reviewers: chandlerc

Subscribers: mcrosier, llvm-commits

Differential Revision: http://reviews.llvm.org/D17010

llvm-svn: 260183
2016-02-09 01:21:57 +00:00
..
Analysis Add an "addUsedAAAnalyses" helper function 2016-02-09 01:21:57 +00:00
Assembler
Bindings Make the OCaml tests temporarily unsupported until they can be updated. 2016-02-05 23:28:03 +00:00
Bitcode [ThinLTO] Include linkage type in function summary 2016-02-06 16:07:35 +00:00
BugPoint
CodeGen [X86][SSE1] Add MOVLHPS/MOVHLPS lowering and memory folding support 2016-02-08 23:03:46 +00:00
DebugInfo [DWARFDebug] Fix another case of overlapping ranges 2016-02-03 21:13:33 +00:00
Examples
ExecutionEngine [RuntimeDyld][MachO] Fix handling of empty eh-frame sections. 2016-01-28 22:35:48 +00:00
Feature [NVPTX] Mark nvvm synchronizing intrinsics as convergent. 2016-02-06 19:32:44 +00:00
FileCheck
Instrumentation [PGO] Enable compression in pgo instrumentation 2016-02-08 18:13:49 +00:00
Integer
JitListener
LibDriver
Linker [ThinLTO] Remove imported available externally defs from comdats. 2016-02-08 18:47:20 +00:00
LTO
MC [X86] Change FeatureIFMA string to 'avx512ifma'. Matches gcc and fixes PR26461. 2016-02-08 01:23:15 +00:00
Object Fix identify_magic() to check that a file that starts with MH_MAGIC is 2016-01-26 23:43:37 +00:00
Other
SymbolRewriter
TableGen [llvm-tblgen] Stop emitting the intrinsic name matching code 2016-01-26 23:01:21 +00:00
tools llvm-cov: Fix reading gcov data that does not have function names 2016-02-08 22:49:40 +00:00
Transforms [PGO] Revert r260146 as it breaks Darwin platforms. 2016-02-08 23:11:16 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh