[llvm-commits] [Review request] Moving code from PHIElimination to MachineBasicBlock

Cameron Zwarich zwarich at apple.com
Sat Dec 4 16:16:28 PST 2010


MachineBasicBlock should be responsible for the placement of phis in predecessor blocks, sparing PHIElimination the need to know the details. This will also let StrongPHIElimination share the code.

I converted the argument from a reference to a pointer since that seems to be the style in MachineBasicBlock. I don't know if we are moving in one direction or the other in LLVM as a whole.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: copy-insert-point.patch
Type: application/octet-stream
Size: 6778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101204/886b0041/attachment.obj>
-------------- next part --------------


Cameron



More information about the llvm-commits mailing list