[LLVMdev] Quick Question...
Jon McLachlan
mclachlan at apple.com
Tue Oct 20 11:12:40 PDT 2009
Hey Everyone,
I know that LLVM subscribes to the notion of "progress over
backwards compatibility." And in that spirit, maybe someone could
help me better understand the motivation behind removing the
MallocInst? Is there a design doc anywhere?
From a pragmatic sense, the IRBuilder's createMalloc, which was
returning a MallocInst, was doing a lot of messy work for us users: http://llvm.org/docs/doxygen/html/Instructions_8cpp-source.html#l00463
.
With MallocInst disappearing, is IRBuilder::createMalloc
disappearing too?
Thanks,
~Jon
More information about the llvm-dev
mailing list