[all-commits] [llvm/llvm-project] 19885c: [NFC] Remove duplicate function calls

Max Kazantsev via All-commits all-commits at lists.llvm.org
Wed Jul 7 03:03:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19885c7adf550ecaaf6191f45c5279d45290ca08
      https://github.com/llvm/llvm-project/commit/19885c7adf550ecaaf6191f45c5279d45290ca08
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2021-07-07 (Wed, 07 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopDeletion.cpp

  Log Message:
  -----------
  [NFC] Remove duplicate function calls

Removed repeated call of L->getHeader(). Now using previously stored return value.

Patch by Dmitry Makogon!

Differential Revision: https://reviews.llvm.org/D105535
Reviewed By: mkazantsev




More information about the All-commits mailing list