[all-commits] [llvm/llvm-project] 706ead: [LoopFlatten] Make it a FunctionPass

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Tue Nov 10 12:04:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 706ead0e875bf0a127c429ce507e8e79d330d731
      https://github.com/llvm/llvm-project/commit/706ead0e875bf0a127c429ce507e8e79d330d731
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar.h
    M llvm/include/llvm/Transforms/Scalar/LoopFlatten.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
    M llvm/test/Transforms/LoopFlatten/loop-flatten-negative.ll

  Log Message:
  -----------
  [LoopFlatten] Make it a FunctionPass

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.

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




More information about the All-commits mailing list