[PATCH] D90940: [LoopFlatten] Make it a FunctionPass
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 6 06:47:36 PST 2020
SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: dmgreen, samparker, samtebbs, sanwou01.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
SjoerdMeijer requested review of this revision.
This converts LoopFlatten from a LoopPass to a FunctionPass so that we don't run into problems of a loop pass deleting a (inner)loop.
https://reviews.llvm.org/D90940
Files:
llvm/include/llvm/Transforms/Scalar.h
llvm/include/llvm/Transforms/Scalar/LoopFlatten.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Scalar/LoopFlatten.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90940.303437.patch
Type: text/x-patch
Size: 8636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201106/70be6480/attachment.bin>
More information about the llvm-commits
mailing list