[all-commits] [llvm/llvm-project] 6af5f5: [SCEV] Collect conditions from assumes same way as...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu May 26 10:18:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6af5f5697c8560e09c305d5cfd74a7bda0d4d311
      https://github.com/llvm/llvm-project/commit/6af5f5697c8560e09c305d5cfd74a7bda0d4d311
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-05-26 (Thu, 26 May 2022)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll

  Log Message:
  -----------
  [SCEV] Collect conditions from assumes same way as for branches.

Also collect conditions from assume up-front in applyLoopGuards.
This allows re-using the logic to handle logical ANDs as assume
conditions.

It should should pave the road for a fix for #55645.




More information about the All-commits mailing list