Home
last modified time | relevance | path

Searched refs:OldShift (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp700 auto *OldShift = cast<Instruction>(Trunc.getOperand(0)); in narrowBinOp() local
701 bool IsExact = OldShift->isExact(); in narrowBinOp()
705 OldShift->getOpcode() == Instruction::AShr in narrowBinOp()
706 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp()
707 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp()