diff options
author | Florian Hahn <flo@fhahn.com> | 2020-10-15 21:50:56 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-10-15 22:02:17 +0100 |
commit | 89c0124273339076b25bf860f6c2ee765ab96db3 (patch) | |
tree | d25dee4c7eae022811df1a72511e8106648a9b67 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 65cb4fdd69f43b6c39a8e4ca27b509284b11d807 (diff) | |
download | llvm-89c0124273339076b25bf860f6c2ee765ab96db3.zip llvm-89c0124273339076b25bf860f6c2ee765ab96db3.tar.gz llvm-89c0124273339076b25bf860f6c2ee765ab96db3.tar.bz2 |
[LoopVersion] Unify SCEVChecks and alias check handling (NFC).
This is an initial cleanup of the way LoopVersioning interacts with LAA.
Currently LoopVersioning has 2 ways of initializing things:
1. Passing LAI and passing UseLAIChecks = true
2. Passing UseLAIChecks = false, followed by calling setSCEVChecks and
setAliasChecks.
Both ways of initializing lead to the same result and the duplication
seems more complicated than necessary.
This patch removes the UseLAIChecks flag from the constructor and the
setSCEVChecks & setAliasChecks helpers and move initialization
exclusively to the constructor.
This simplifies things, by providing a single way to initialize
LoopVersioning and reducing duplication.
Reviewed By: Meinersbur, lebedev.ri
Differential Revision: https://reviews.llvm.org/D84406
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions