Displaying 2 results from an estimated 2 matches for "mergec".
Did you mean:
merge
2008 Oct 16
2
[LLVMdev] Requiring a pass to run before/after a pass? (Adding PHIs and updating uses)
...ying to transform a CFG where A flows into B and C, and I'm making a
copy of A, A_copy, which will also flow into B and C. Right now I'm making a
merge point mergeB where both A and A_copy flow into it, and it then flows
into B. Same for C.
A
/ \
B C
A A_copy
| / \ |
mergeB mergeC
| |
B C
For any values %v deffed in A and A_copy, mergeB has the phis %v.phi.B, and
I replace the original uses of %v in B with %v.phi.B. However, if both B and
C use %v, I need to make sure B gets updated to use %v.phi.B and C gets
%v.phi.C (and not %v.phi.B).
I figured I could may...
2008 Oct 16
0
[LLVMdev] Requiring a pass to run before/after a pass? (Adding PHIs and updating uses)
...> making a copy of A, A_copy, which will also flow into B and C. Right
> now I'm making a merge point mergeB where both A and A_copy flow
> into it, and it then flows into B. Same for C.
>
> A
> / \
> B C
>
>
> A A_copy
> | / \ |
> mergeB mergeC
> | |
> B C
>
> For any values %v deffed in A and A_copy, mergeB has the phis
> %v.phi.B, and I replace the original uses of %v in B with %v.phi.B.
> However, if both B and C use %v, I need to make sure B gets updated
> to use %v.phi.B and C gets %v.phi.C (a...