[patch] Move the materalizer interface to Function

Nick Lewycky nicholas at mxc.ca
Wed May 7 22:50:05 PDT 2014


Rafael EspĂ­ndola wrote:
> A rebased and slightly modified patch is attached. It keeps the
> interface proper in GlobalValue as a convenience, but the first step
> is a dyn_cast to Function which allows the actual materializer to be
> implemented with Function arguments.

I realize bitcode only lazy loads functions not globals, but is 
GVMaterializer for non-functions broken?

Nick

> On 2 May 2014 00:39, Rafael EspĂ­ndola<rafael.espindola at gmail.com>  wrote:
>> The only thing we can materalize at the moment are functions. Move the
>> interface there.
>>
>> The other thing there is some desire to be lazy about is metadata, and
>> that is not a GlobalValue anyway.
>>
>> Cheers,
>> Rafael
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list