[PATCH] D69069: [IPO] Convert LoopExtractor pass from LoopPass to ModulePass

Ehud Katz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 13:39:00 PDT 2019


ekatz created this revision.
ekatz added reviewers: nicholas, lattner, chandlerc.
ekatz added a project: LLVM.
Herald added subscribers: llvm-commits, hiraditya.

The LoopExtractor created new functions (by definition), which violates the restrictions of a LoopPass.
The correct implementation of this pass should be as a ModulePass.

Fixes PR3082 and PR8929.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69069

Files:
  llvm/lib/Transforms/IPO/LoopExtractor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69069.225295.patch
Type: text/x-patch
Size: 3714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191016/eb25d10f/attachment.bin>


More information about the llvm-commits mailing list