Displaying 2 results from an estimated 2 matches for "phi_uniqueexit".
2010 Oct 11
3
[LLVMdev] Specify dominator for BasicBlock to avoid "Instruction does not dominate all uses!"
...|
BB_unique
/ \
ExitBB1_redirect ExitBB2_redirect
| | | |
/ \ / \
EBB1.1 EBB1.2 EBB2.1 EBB2.2
And BB_unique contains:
%PHI_uniqueExit = phi i8 [ 0, %ExitBB1 ], [ 1, %ExitBB2 ]
switch i8 %PHI_uniqueExit, label %switch_default [
i8 0, label %ExitBB1_redirect
i8 1, label %ExitBB2_redirect
]
The problem is that all instructions defined in ExitBB1 seem to not dominate
their uses, if they are used in successors of ExitBB1_...
2010 Oct 11
0
[LLVMdev] Specify dominator for BasicBlock to avoid "Instruction does not dominate all uses!"
...BB_unique
> / \
> ExitBB1_redirect ExitBB2_redirect
> | | | |
> / \ / \
> EBB1.1 EBB1.2 EBB2.1 EBB2.2
>
> And BB_unique contains:
> %PHI_uniqueExit = phi i8 [ 0, %ExitBB1 ], [ 1, %ExitBB2 ]
> switch i8 %PHI_uniqueExit, label %switch_default [
> i8 0, label %ExitBB1_redirect
> i8 1, label %ExitBB2_redirect
> ]
>
> The problem is that all instructions defined in ExitBB1 seem to not dominate
> their uses, if they are...