[all-commits] [llvm/llvm-project] d0de2c: [InstCombine] Simplify foldOperationIntoSelectOper...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Mar 21 02:02:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0de2c51c9a9fc0fedb97ee98f61ce08cb34972b
      https://github.com/llvm/llvm-project/commit/d0de2c51c9a9fc0fedb97ee98f61ce08cb34972b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

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

  Log Message:
  -----------
  [InstCombine] Simplify foldOperationIntoSelectOperand() (NFCI)

Rather than handling all instruction types separately, clone the
original instruction and replace the select operand.




More information about the All-commits mailing list