llvm.org GIT mirror llvm / 8ec4365
AArch64: Merge isa with dyn_cast git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212194 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan P. N. Exon Smith 6 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
266266 }
267267
268268 // Now try to get through the chain of definitions.
269 while (isa(SExt->getOperand(0))) {
270 Instruction *Inst = dyn_cast(SExt->getOperand(0));
269 while (auto *Inst = dyn_cast(SExt->getOperand(0))) {
271270 DEBUG(dbgs() << "Try to get through:\n" << *Inst << '\n');
272271 if (!canGetThrough(Inst) || !shouldGetThrough(Inst)) {
273272 // We cannot get through something that is not an Instruction