[all-commits] [llvm/llvm-project] c5245d: [LoopFlatten] Mark loop analyses as preserved

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Oct 7 12:57:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5245dd33904bd1b69a2a49d17b1bea156e8dabf
      https://github.com/llvm/llvm-project/commit/c5245dd33904bd1b69a2a49d17b1bea156e8dabf
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopFlatten.cpp

  Log Message:
  -----------
  [LoopFlatten] Mark loop analyses as preserved

LoopFlatten does preserve loop analyses (DT, LI and SCEV), but
currently doesn't mark them as preserved in the NewPM (they are
marked as preserved in the LegacyPM). I think this doesn't really
have an effect in the end because the loop pass adaptor will just
assume they're preserved anyway, but let's be explicit about this
for the sake of clarity.

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




More information about the All-commits mailing list