[all-commits] [llvm/llvm-project] 47e31d: [NFC] Reduce code duplication in binop processing ...

max-azul via All-commits all-commits at lists.llvm.org
Sun Nov 22 23:12:53 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47e31d1b5eac6a7b69a50404ecdc35daf18c01f9
      https://github.com/llvm/llvm-project/commit/47e31d1b5eac6a7b69a50404ecdc35daf18c01f9
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2020-11-23 (Mon, 23 Nov 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [NFC] Reduce code duplication in binop processing in computeExitLimitFromCondCached

Handling of `and` and `or` vastly uses copy-paste. Factored out into
a helper function as preparation step for further fix (see PR48225).

Differential Revision: https://reviews.llvm.org/D91864
Reviewed By: nikic




More information about the All-commits mailing list