llvm/unittests
Alina Sbirlea 49ae59819e Only passes that preserve MemorySSA must mark it as preserved.
Summary:
The method `getLoopPassPreservedAnalyses` should not mark MemorySSA as
preserved, because it's being called in a lot of passes that do not
preserve MemorySSA.
Instead, mark the MemorySSA analysis as preserved by each pass that does
preserve it.
These changes only affect the new pass mananger.

Reviewers: chandlerc

Subscribers: mehdi_amini, jlebar, Prazek, george.burgess.iv, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363091 91177308-0d34-0410-b5e6-96231b3b80d8
2019-06-11 18:27:49 +00:00
..
ADT [ADT] Enable set_difference() to be used on StringSet 2019-06-07 20:23:03 +00:00
Analysis [Analysis] add unit test file for VectorUtils; NFC 2019-06-10 18:19:05 +00:00
AsmParser
BinaryFormat
Bitcode
CodeGen [X86] Fix several places that weren't passing what they though they were to MachineInstr::print 2019-06-02 01:36:48 +00:00
DebugInfo Fix DWARF DebugInfo unit test errors when cross-compiling 2019-06-03 22:22:03 +00:00
Demangle
ExecutionEngine [ORC] Update symbol lookup to use a single callback with a required symbol state 2019-06-07 19:33:51 +00:00
FuzzMutate
IR [IRBuilder] Add CreateFNegFMF(...) to the IRBuilder 2019-06-10 15:07:29 +00:00
LineEditor
Linker
MC Change some StringRef::data() reinterpret_cast to bytes_begin() or arrayRefFromStringRef() 2019-04-07 03:58:42 +00:00
MI
Object Minidump: Add support for the MemoryList stream 2019-05-16 15:17:30 +00:00
ObjectYAML Minidump: Add support for reading/writing strings 2019-04-05 08:06:26 +00:00
Option Option spell checking: Penalize delimiter flags if input has no argument 2019-05-01 16:45:15 +00:00
Passes
ProfileData
Remarks [Remarks] Add string deduplication using a string table 2019-04-24 00:06:24 +00:00
Support [Path] Set FD to -1 in moved-from TempFile 2019-06-11 16:42:42 +00:00
Target Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
TextAPI [TextAPI] Prefix all architecture enums to fix the build on i386. 2019-04-04 22:56:50 +00:00
tools Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
Transforms Only passes that preserve MemorySSA must mark it as preserved. 2019-06-11 18:27:49 +00:00
XRay
CMakeLists.txt Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
unittest.cfg.in