> On Sep 8, 2015, at 6:19 PM, Steven Wu <steve...@apple.com> wrote: > CreateElementBitcast doesn’t seem to do what the name suggested. If you give > it VTy, it doesn’t grab the element type to generate bitcast. Is this > by-design? If so, I need to do this: > PtrOp0 = Builder.CreateElementBitCast(PtrOp0, VTy->getElementType());
Yes, I’m sorry, that’s right. I missed that you were also drilling down to the element type. John. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits