[LLVMdev] StructRetPromotion and linkage
Duncan Sands
baldrick at free.fr
Thu May 8 05:57:42 PDT 2008
> I was looking at the StructRetPromotion pass this morning and noticed it
> doesn't look at a function's linkage at all. Since it changes the signature of
> the function, I would say it should only change internal functions, like
> ArgumentPromotion does for example.
>
> Is there some implicit check I'm missing, or should an explicit check really
> be added?
It looks like the check was forgotten.
Ciao,
Duncan.
More information about the llvm-dev
mailing list