[all-commits] [llvm/llvm-project] d49911: [InstCombine][NFC] Use ConstantExpr::getBinOpIdentity

laytonio via All-commits all-commits at lists.llvm.org
Thu Oct 22 11:45:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d49911c2825c40b49c915e61cdf6656e49789dcd
      https://github.com/llvm/llvm-project/commit/d49911c2825c40b49c915e61cdf6656e49789dcd
  Author: Layton Kifer <laytonkifer at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

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

  Log Message:
  -----------
  [InstCombine][NFC] Use ConstantExpr::getBinOpIdentity

Delete duplicate implementation getSelectFoldableConstant and
replace with ConstantExpr::getBinOpIdentity.

Differential Revision: https://reviews.llvm.org/D89839




More information about the All-commits mailing list