[LLVMdev] isa<UnaryInstruction> borked in 2.1

ST st at iss.tu-darmstadt.de
Mon Dec 10 04:39:00 PST 2007


Hi
> This is implemented with the 'classof' method on the class.  Since it
> isn't implemented for UnaryInstruction, it is accepting anything that
> isa<Instruction>, which is very very wrong.
Well, probably i should have looked into the header files too...
> Thanks for pointing this out, please try this patch:
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071203/056054
>.html
Wow, that was quick. It seems to work at a first glance. I will produce some 
noise if i find some problems with this patch.

Thanks
ST



More information about the llvm-dev mailing list