[all-commits] [llvm/llvm-project] e298df: [SCCP] Avoid ConstantExpr::get() call

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jul 13 07:21:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e298dfbc1b89fb7e0051f978bf859d6c37fd9203
      https://github.com/llvm/llvm-project/commit/e298dfbc1b89fb7e0051f978bf859d6c37fd9203
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-13 (Wed, 13 Jul 2022)

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

  Log Message:
  -----------
  [SCCP] Avoid ConstantExpr::get() call

Use ConstantFoldUnaryOpOperand() API instead. This is in
preparation for removing fneg constant expressions.




More information about the All-commits mailing list