[InstCombine] foldShiftOfShiftedLogic - replace cast<BinaryOperator> with m_BinOp...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 9 Oct 2020 13:09:52 +0000 (14:09 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 9 Oct 2020 13:10:12 +0000 (14:10 +0100)
commit556316cf724e5a2c569f07a5e04d27e2ff1a6c66
tree0a0fee47d46db2c9cd07aa09a021828277bea09b
parent366d8435b41dcc01013c507681523c65cdee2180
[InstCombine] foldShiftOfShiftedLogic - replace cast<BinaryOperator> with m_BinOp matcher. NFCI.

Allows us to drop the !isa<ConstantExpr> check.
llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp