[PATCH] D102615: [LoopDeletion] Break backedge if we can prove that the loop is exited on 1st iteration

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 26 23:36:42 PDT 2021


mkazantsev added a comment.

This should also help:

  commit 51d334a845a082338735b0fdfc620a4b15fa26fe (HEAD -> main, origin/main)
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   Thu May 27 13:20:57 2021 +0700
  
      [NFCI] Lazily evaluate SCEVs of PHIs
  
      Eager evaluation has cost of compile time. Only query them if they are
      required for proving predicates.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102615/new/

https://reviews.llvm.org/D102615



More information about the llvm-commits mailing list