[all-commits] [llvm/llvm-project] 885834: [SCEV] Swap operands if LHS is not unknown.

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Sep 25 07:53:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8858340bd380b821bbad773c7b3a022a9bb5b2d9
      https://github.com/llvm/llvm-project/commit/8858340bd380b821bbad773c7b3a022a9bb5b2d9
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  [SCEV] Swap operands if LHS is not unknown.

Currently we only use information from guards for unknown expressions.
Swap LHS/RHS and predicate, if LHS is not unknown.




More information about the All-commits mailing list