[flang][NFC] Rename RewriteLoop.cpp to ControlFlowConverter.cpp
authorValentin Clement <clementval@gmail.com>
Thu, 10 Nov 2022 14:01:38 +0000 (15:01 +0100)
committerValentin Clement <clementval@gmail.com>
Thu, 10 Nov 2022 14:03:18 +0000 (15:03 +0100)
commit4299ff548e96a4981cda17a80573f4a71816a02a
tree23d2dc85e57a110ab7bd7d2921fdebca3e7ca456
parente1b88c8a09be25b86b13f98755a9bd744b4dbf14
[flang][NFC] Rename RewriteLoop.cpp to ControlFlowConverter.cpp

RewriteLoop.cpp is containing more than just loop conversion. It will
soon contains the fir.select_type conversion as well. This patch
renames the file so it is in line with the pass name.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D137773
flang/lib/Optimizer/Transforms/CMakeLists.txt
flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp [moved from flang/lib/Optimizer/Transforms/RewriteLoop.cpp with 99% similarity]