[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp

Chris Lattner sabre at nondot.org
Mon Nov 21 10:36:18 PST 2005


>
> I think I know what you meant here, but just to be safe I'll let you
> do it. :)

Can you send me a testcase that this assert breaks?

Thanks,

-Chris

> ---
> Diffs of the changes:  (+1 -1)
>
> RegAllocLinearScan.cpp |    2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
>
> Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
> diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.115 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.116
> --- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.115	Mon Nov 21 01:06:27 2005
> +++ llvm/lib/CodeGen/RegAllocLinearScan.cpp	Mon Nov 21 08:09:40 2005
> @@ -547,7 +547,7 @@
>       minReg = reg;
>     }
>   }
> -  assert(minReg && "Didn't find any reg!");
> +// FIXME:  assert(minReg && "Didn't find any reg!");
>   DEBUG(std::cerr << "\t\tregister with min weight: "
>         << mri_->getName(minReg) << " (" << minWeight << ")\n");
>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/




More information about the llvm-commits mailing list