Displaying 4 results from an estimated 4 matches for "phibb".
2011 Jan 27
0
[LLVMdev] Update PHINode after extracting code
...eRepl. In fact, there is NO way to update PhiNode,
because all the x are from ONE node, codeRepl.
So the function ExtractCodeRegion doesn't work in this example.
My solution for this is before extracting BB1 and BB2, I split the PHINode
in BB3 into another basic block
BB1 BB2
\ /
PhiBB
|
BB
And extract BB1, BB2 and PhiBB.
If you have any ideas or if you think this will not work, please let me
know.
Thanks.
Vu
On Tue, Jan 25, 2011 at 12:33 AM, Vu Le <vmle at ucdavis.edu> wrote:
> Hi all,
> I have problem with ExtractCodeRegion (CodeExtractor.cpp).
>...
2011 Jan 27
2
[LLVMdev] Update PHINode after extracting code
...PhiNode,
> because all the x are from ONE node, codeRepl.
> So the function ExtractCodeRegion doesn't work in this example.
>
> My solution for this is before extracting BB1 and BB2, I split the PHINode
> in BB3 into another basic block
> BB1 BB2
> \ /
> PhiBB
> |
> BB
> And extract BB1, BB2 and PhiBB.
> If you have any ideas or if you think this will not work, please let me
> know.
> Thanks.
> Vu
Hi Vu,
I believe this is the right approach. If I am right and you work on the
RegionInfo pass I believe what you want i...
2011 Jan 25
2
[LLVMdev] Update PHINode after extracting code
Hi all,
I have problem with ExtractCodeRegion (CodeExtractor.cpp).
My original program is as follows.
bb:
...
%tmp.15 = load %struct.MYSQL_ROWS** %3, align 4
...
bb1:
...
%tmp.1 = load %struct.MYSQL_ROWS** %6, align 4
...
bb4: ; preds = %bb1, %bb,
%entry
%tmp.0 = phi %struct.MYSQL_ROWS* [ null, %entry ], [ %tmp.15, %bb ], [
%tmp.1, %bb1 ]
2011 Jan 27
0
[LLVMdev] Update PHINode after extracting code
...the x are from ONE node, codeRepl.
>> So the function ExtractCodeRegion doesn't work in this example.
>>
>> My solution for this is before extracting BB1 and BB2, I split the PHINode
>> in BB3 into another basic block
>> BB1 BB2
>> \ /
>> PhiBB
>> |
>> BB
>> And extract BB1, BB2 and PhiBB.
>> If you have any ideas or if you think this will not work, please let me
>> know.
>> Thanks.
>> Vu
>>
>
> Hi Vu,
>
> I believe this is the right approach. If I am right and you w...