Skip to content

Commit

Permalink
[NFC][LV][LoopUtil] Move LoopVectorizationLegality to its own file
Browse files Browse the repository at this point in the history
Summary:
This is a follow up to D45420 (included here since it is still under review and this change is dependent on that) and D45072 (committed).
Actual change for this patch is LoopVectorize* and cmakefile. All others are all from D45420.

LoopVectorizationLegality is an analysis and thus really belongs to Analysis tree. It is modular enough and it is reusable enough ---- we can further improve those aspects once uses outside of LV picks up.

Hopefully, this will make it easier for people familiar with vectorization theory, but not necessarily LV itself to contribute, by lowering the volume of code they should deal with. We probably should start adding some code in LV to check its own capability (i.e., vectorization is legal but LV is not ready to handle it) and then bail out.


Reviewers: rengolin, fhahn, hfinkel, mkuper, aemerson, mssimpso, dcaballe, sguggill

Reviewed By: rengolin, dcaballe

Subscribers: egarcia, rogfer01, mgorny, llvm-commits

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

llvm-svn: 331139
  • Loading branch information
hidekisaito committed Apr 29, 2018
1 parent 18c4c8e commit f2ec16c
Show file tree
Hide file tree
Showing 4 changed files with 1,557 additions and 1,456 deletions.

0 comments on commit f2ec16c

Please sign in to comment.