[llvm-commits] [llvm] r93026 - /llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
Duncan Sands
baldrick at free.fr
Fri Jan 8 23:35:27 PST 2010
Hi Eric,
> - ConstantInt *Const = dyn_cast<ConstantInt>(II->getOperand(2));
> -
> - if (!Const) return 0;
> -
> + ConstantInt *Const = cast<ConstantInt>(II->getOperand(2));
can you please make the same change in the llvm-gcc code, where you also used
"dyn_cast + assert" rather than "cast".
Thanks,
Duncan.
More information about the llvm-commits
mailing list