[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp

Chris Lattner clattner at apple.com
Wed Jun 6 10:51:44 PDT 2007


On Jun 6, 2007, at 5:19 AM, Nick Lewycky wrote:

> Chris Lattner wrote:
>> The only thing that can use Instructions are other intstructions.  As
>> such, you can change the dyn_cast<instruction> into cast<instruction>
>> and there is no need to check for null in the next line.
>
> Fixed. Thanks Chris!

Even better fix, thanks Nick,

-Chris




More information about the llvm-commits mailing list