[LAA] Move runtime-check generation to Transforms/Utils/loopUtils (NFC)
authorFlorian Hahn <flo@fhahn.com>
Sun, 10 May 2020 15:48:06 +0000 (16:48 +0100)
committerFlorian Hahn <flo@fhahn.com>
Sun, 10 May 2020 16:39:26 +0000 (17:39 +0100)
commit8528186b9bfcb0e422a1046871f855edcf3389f6
treeee6325be1dff57b20621e560ec1bbf5f32eeb4d8
parentd5a2870a6e99d8fe4ae03283ed21a56abafe1e3c
[LAA] Move runtime-check generation to Transforms/Utils/loopUtils (NFC)

Currently LAA's uses of ScalarEvolutionExpander blocks moving the
expander from Analysis to Transforms. Conceptually the expander does not
fit into Analysis (it is only used for code generation) and
runtime-check generation also seems to be better suited as a
transformation utility.

Reviewers: Ayal, anemet

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D78460
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/include/llvm/Transforms/Utils/LoopUtils.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/lib/Transforms/Utils/LoopUtils.cpp
llvm/lib/Transforms/Utils/LoopVersioning.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp