[all-commits] [llvm/llvm-project] abbd68: [InstCombine] Avoid ConstantExpr::get() in phi bin...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jul 4 07:47:00 PDT 2022


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [InstCombine] Avoid ConstantExpr::get() in phi binop fold

Use ConstantFoldBinaryOpOperands() instead, in preparation for not
all binops having a supported constant expression.




More information about the All-commits mailing list