[all-commits] [llvm/llvm-project] 3b70ee: [LoopExtractor] Convert LoopExtractor from LoopPas...

Ehud Katz via All-commits all-commits at lists.llvm.org
Sun Feb 9 02:29:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b70ee27a5032a52fc9502541c70b5e0e6b29dfa
      https://github.com/llvm/llvm-project/commit/3b70ee27a5032a52fc9502541c70b5e0e6b29dfa
  Author: Ehud Katz <ehudkatz at gmail.com>
  Date:   2020-02-09 (Sun, 09 Feb 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/LoopExtractor.cpp
    M llvm/test/Feature/optnone-opt.ll
    A llvm/test/Transforms/CodeExtractor/LoopExtractor.ll
    A llvm/test/Transforms/CodeExtractor/LoopExtractor_crash.ll
    A llvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll
    A llvm/test/Transforms/CodeExtractor/LoopExtractor_min_wrapper.ll

  Log Message:
  -----------
  [LoopExtractor] Convert LoopExtractor from LoopPass to ModulePass

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.
Includes reverting rL82990 implications on the LoopExtractor.

Fixes PR3082 and PR8929.

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




More information about the All-commits mailing list