[all-commits] [llvm/llvm-project] 67f1e8: [Transforms] Remove FactorOutConstant to fix -Wunn...

Jie Fu via All-commits all-commits at lists.llvm.org
Wed Jul 12 06:57:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67f1e8d737d47ee3d3df7b41b10c57d9a4925ea7
      https://github.com/llvm/llvm-project/commit/67f1e8d737d47ee3d3df7b41b10c57d9a4925ea7
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

  Log Message:
  -----------
  [Transforms] Remove FactorOutConstant to fix -Wunneeded-internal-declaration (NFC)

/Users/jiefu/llvm-project/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp:293:13: error: function 'FactorOutConstant' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
static bool FactorOutConstant(const SCEV *&S, const SCEV *&Remainder,
            ^
1 error generated.




More information about the All-commits mailing list