[llvm-commits] [llvm] r73605 - /llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp

Eli Friedman eli.friedman at gmail.com
Tue Jun 16 23:55:28 PDT 2009


On Tue, Jun 16, 2009 at 11:47 PM, Sanjiv
Gupta<sanjiv.gupta at microchip.com> wrote:
> The problem is replaceAllUsesWith asserts for type mismatch here. Try attached .bc with llvm-ld.
>
> assert(New->getType() == getType() &&
>        "replaceAllUses of value with new value of different type!");

Would you mind adding a testcase for this?

-Eli




More information about the llvm-commits mailing list