[all-commits] [llvm/llvm-project] f33118: [IndVars] Support different types of ExitCount whe...

max-azul via All-commits all-commits at lists.llvm.org
Wed Nov 18 03:20:39 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f33118c61ce051f13515f5c9b862302fc4fdb89e
      https://github.com/llvm/llvm-project/commit/f33118c61ce051f13515f5c9b862302fc4fdb89e
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/test/Transforms/IndVarSimplify/predicated_ranges.ll

  Log Message:
  -----------
  [IndVars] Support different types of ExitCount when optimizing exit conds

In some cases we can handle IV and iter count of different types. It's a typical situation
after IV have been widened. This patch adds support for such cases, when legal.

Differential Revision: https://reviews.llvm.org/D88528
Reviewed By: skatkov




More information about the All-commits mailing list