[LLVMdev] LLVMBuilder vs LLVMFoldingBuilder
Duncan Sands
baldrick at free.fr
Sat Apr 12 23:33:05 PDT 2008
Hi Dominic,
> While looking at this, I noticed that GetElementPtrInst::Create and
> ConstantExpr::getGetElementPtr have a different interface when taking a
> list of indices. The first takes the start and end pointers to the list,
> while the second takes the first pointer and the length of the list. I
> feel like these interfaces should be consistent. Maybe my next patch.
please change ConstantExpr::getGetElementPtr to be like
GetElementPtrInst::Create.
Thanks!
Duncan.
More information about the llvm-dev
mailing list