[llvm-commits] [llvm] r154395 - /llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp

Duncan Sands baldrick at free.fr
Tue Apr 10 06:46:25 PDT 2012


Hi Chandler,

> --- llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp (original)
> +++ llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp Tue Apr 10 08:35:57 2012
> @@ -547,6 +547,18 @@
>   MachineBlockPlacement::findBestLoopTop(MachineFunction&F,
>                                          MachineLoop&L,
>                                          const BlockFilterSet&LoopBlockSet) {
> +  // We don't want to layout the loop linearly in all cases. If the loop header
> +  // is just a normal basic block in the loop, we want to look for what block
> +  // within the loop is the best one to layout at the top. However, if the loop
> +  // header has be pre-merged into a chain due to predecessors not having

has be -> has been

Ciao, Duncan.



More information about the llvm-commits mailing list