[all-commits] [llvm/llvm-project] f84709: [IndVars] Use knowledge about execution on last it...

max-azul via All-commits all-commits at lists.llvm.org
Mon Nov 2 22:39:30 PST 2020


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

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

  Log Message:
  -----------
  [IndVars] Use knowledge about execution on last iteration when removing checks

If we know that some check will not be executed on the last iteration, we can use this
fact to eliminate its check.

Differential Revision: https://reviews.llvm.org/D88210
Reviwed By: ebrevnov




More information about the All-commits mailing list