search for: findcopyinsertpoint

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

2009 Jul 03
0
[LLVMdev] Doubt in PHI node elimination
...et affects the same implicit > def (STATUS reg), hence giving improper information to branch. If > safe location search for copy insertion is done for branch instruction > also then this dependency does not break. > > The code in question here is:MachineBasicBlock::iterator PNE::FindCopyInsertPoint(MachineBasicBlock &MBB, unsigned SrcReg) { // Handle the trivial case trivially. if (MBB.empty()) return MBB.begin(); // If this basic block does not contain an invoke, then control flow always // reaches the end of it, so place...
2009 Jul 03
2
[LLVMdev] Doubt in PHI node elimination
Hi, In PHI node elimination pass to insert the copy in the predecessor block, there is a check if terminator is not an invoke instruction then place the copy there only. However for invoke terminator instruction a safe position is located for copy insertion. My doubt is why is this safe location search done only for invoke instruction and not for other terminators such as branch.
2009 Jul 07
1
[LLVMdev] Doubt in PHI node elimination
...def (STATUS reg), hence giving improper information to branch. If >> safe location search for copy insertion is done for branch >> instruction >> also then this dependency does not break. >> >> > The code in question here is:MachineBasicBlock::iterator > PNE::FindCopyInsertPoint(MachineBasicBlock &MBB, > unsigned SrcReg) { > // Handle the trivial case trivially. > if (MBB.empty()) > return MBB.begin(); > > // If this basic block does not contain an invoke, then control flow > always > //...