[all-commits] [llvm/llvm-project] 3c2b18: [InstCombine] Avoid ConstantExpr::getSelect() use ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Feb 27 07:32:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c2b1853d17065680c2bdac3623ad1fac4f215ec
      https://github.com/llvm/llvm-project/commit/3c2b1853d17065680c2bdac3623ad1fac4f215ec
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

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

  Log Message:
  -----------
  [InstCombine] Avoid ConstantExpr::getSelect() use (NFCI)

Instead let IRBuilder take care of constant folding.

In preparation for removing select constantexprs.




More information about the All-commits mailing list