[all-commits] [llvm/llvm-project] ebd6b5: [LICM] Minor optimization (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Apr 24 08:06:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ebd6b5dc6426c5a759d9ed588fe6b972319736ff
      https://github.com/llvm/llvm-project/commit/ebd6b5dc6426c5a759d9ed588fe6b972319736ff
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-04-24 (Mon, 24 Apr 2023)

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

  Log Message:
  -----------
  [LICM] Minor optimization (NFC)

Simplify the match in hoistMinMax and only fetch the preheader
once.




More information about the All-commits mailing list