[PATCH] [LoopDist/LoopVer] Move LoopVersioning to a new module, NFC
Adam Nemet
anemet at apple.com
Fri Jun 19 14:58:59 PDT 2015
Hi hfinkel, ashutosh.nema,
This is a verbatim move except for expanded comment before the class,
the new assert in the constructor and some clang-format fixes due to the
changed indentation level in the function defs.
The class will obviously need improvement down the road. For one, there
is no reason that addPHINodes would have to be exposed like that. I
will make this and other improvements in follow-up patches.
The main goal is to be able to share this functionality. The
LoopLoadElimination pass I am working on needs it too. Later we can
move other clients as well (LV and Ashutosh's LICMVer).
http://reviews.llvm.org/D10577
Files:
include/llvm/Transforms/Utils/LoopVersioning.h
lib/Transforms/Scalar/LoopDistribute.cpp
lib/Transforms/Utils/CMakeLists.txt
lib/Transforms/Utils/LoopVersioning.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10577.28052.patch
Type: text/x-patch
Size: 13332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150619/b9e95a2c/attachment.bin>
More information about the llvm-commits
mailing list