Displaying 2 results from an estimated 2 matches for "fba33896".
2008 Jun 19
0
[LLVMdev] Transforming ConstantExprs to Instructions
On Jun 18, 2008, at 1:36 AM, Matthijs Kooijman wrote:
>> Is it possible to design the pass to work with both? The general
>> approach
>> is to make stuff handle "User"s instead of Instructions. It is
>> much more
>> compile time efficient to just handle the two forms rather than
>> converting
>> them back and forth.
> With both I
2008 Jun 18
3
[LLVMdev] Transforming ConstantExprs to Instructions
Hi Chris,
> > [ Snip replacing constantexprs with instructions ]
> Ok, this is not possible in general though, global variable initializers
> have to be constants, not instructions.
Yeah, so if not all uses can be replaced, my pass will just have to skip the
variable.
> Is it possible to design the pass to work with both? The general approach
> is to make stuff handle