[all-commits] [llvm/llvm-project] 556316: [InstCombine] foldShiftOfShiftedLogic - replace ca...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Oct 9 06:10:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 556316cf724e5a2c569f07a5e04d27e2ff1a6c66
      https://github.com/llvm/llvm-project/commit/556316cf724e5a2c569f07a5e04d27e2ff1a6c66
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-09 (Fri, 09 Oct 2020)

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

  Log Message:
  -----------
  [InstCombine] foldShiftOfShiftedLogic - replace cast<BinaryOperator> with m_BinOp matcher. NFCI.

Allows us to drop the !isa<ConstantExpr> check.




More information about the All-commits mailing list