[llvm-commits] [llvm] r52013 - /llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp

Bill Wendling isanbard at gmail.com
Thu Jun 5 11:39:13 PDT 2008


On Thu, Jun 5, 2008 at 10:22 AM, Owen Anderson <resistor at mac.com> wrote:
> --- llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp (original)
> +++ llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Thu Jun  5 12:22:53 2008
...
>
>  bool StrongPHIElimination::runOnMachineFunction(MachineFunction &Fn) {
>   LiveIntervals& LI = getAnalysis<LiveIntervals>();
>
> +  LI.dump();
> +

Debugging code?

>   // Compute DFS numbers of each block
>   computeDFS(Fn);
>
> @@ -909,7 +812,7 @@
>       processBlock(I);
>
>   // Insert copies
> -  // FIXME: This process should probably preserve LiveVariables
> +  // FIXME: This process should probably preserve LiveIntervals
>   SmallPtrSet<MachineBasicBlock*, 16> visited;
>   InsertCopies(Fn.begin(), visited);
>
> @@ -961,5 +864,7 @@
>
>   LI.computeNumbering();
>
> +  LI.dump();
> +

Also here?

-bw



More information about the llvm-commits mailing list