Thanks Pawel! I've applied your patch as rev 44747 here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071203/056105.html
Since there are some other methods to devirtualize deeper in the
class hierarchy, I wonder if it might make sense to write the
dispatch once instead of repeating it several times. Here are some
ideas off the top of my head…
Why not something like InstVisitor? Right now it only supports
instructions, but it could be extended.
-Chris
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits