search for: exitbb2_redirect

Displaying 3 results from an estimated 3 matches for "exitbb2_redirect".

Did you mean: exitbb1_redirect
2010 Oct 11
3
[LLVMdev] Specify dominator for BasicBlock to avoid "Instruction does not dominate all uses!"
...| \ | / | ExitBB1 ExitBB2 | | ---------------------------------- | 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 %ExitB...
2010 Oct 11
0
[LLVMdev] Specify dominator for BasicBlock to avoid "Instruction does not dominate all uses!"
...| > ExitBB1 ExitBB2 > | | > ---------------------------------- > | > 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_...
2010 Oct 12
1
[LLVMdev] Specify dominator for BasicBlock to avoid "Instruction does not dominate all uses!"
...| ExitBB1 ExitBB2 | | ------------------------------------------------------- | BB_unique / \ ExitBB1_redirect ExitBB2_redirect | Succ1 (uses PHI_1) Devang Patel wrote: > > > > One approach is to use insert PHI nodes in BB_unique for values defined in > ExitBB1 and use these phi nodes in ExitBB1_redirect. > > > > Devang > > > I will use the pass -reg2mem, as s...