[llvm-commits] [llvm] r73692 - /llvm/trunk/include/llvm/Support/IRBuilder.h
Frits van Bommel
fvbommel at wxs.nl
Thu Jun 18 01:22:39 PDT 2009
Anton Korobeynikov wrote:
> Author: asl
> Date: Thu Jun 18 03:13:56 2009
> New Revision: 73692
>
> URL: http://llvm.org/viewvc/llvm-project?rev=73692&view=rev
> Log:
> Propagate calling conv for invokes too
> --- llvm/trunk/include/llvm/Support/IRBuilder.h (original)
> +++ llvm/trunk/include/llvm/Support/IRBuilder.h Thu Jun 18 03:13:56 2009
> @@ -154,8 +154,10 @@
> InvokeInst *CreateInvoke(Value *Callee, BasicBlock *NormalDest,
> BasicBlock *UnwindDest, InputIterator ArgBegin,
> InputIterator ArgEnd, const char *Name = "") {
> - return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest,
> - ArgBegin, ArgEnd), Name);
> + return Insert(TransferAttributes(InvokeInst::Create(Callee,
> + NormalDest, UnwindDest,
> + ArgBegin, ArgEnd),
> + Callee), Name);
I thought your previous commit only created TransferAttributes for CallInst?
More information about the llvm-commits
mailing list