[LLVMdev] StructRetPromotion and linkage
Devang Patel
dpatel at apple.com
Thu May 8 08:09:11 PDT 2008
On May 8, 2008, at 2:53 AM, Matthijs Kooijman wrote:
> Hi all,
>
> 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?
I added the missing check.
-
Devang
More information about the llvm-dev
mailing list