[llvm-commits] is most of lib/VMCore/Mangler.cpp dead?

Chris Lattner clattner at apple.com
Sun Jan 11 11:55:37 PST 2009


On Jan 9, 2009, at 8:09 AM, Rafael Espindola wrote:

> I added an "assert (0)" just after the if (!ExistingValue) in
> InsertName and was able to run "make check" and bootstrap llvm-gcc :-)

Yes, you're absolutely right.

> It looks like the code is handling the case of a two variable with the
> same name but different types. This was the case on the days llvm had
> type planes. Is this code still used somehow? Do you have a testcase?

This should all be ripped out, nice catch!!

-Chris



More information about the llvm-commits mailing list