[llvm-commits] [llvm] r104408 - /llvm/trunk/lib/CodeGen/MachineCSE.cpp
Evan Cheng
evan.cheng at apple.com
Fri May 21 18:47:49 PDT 2010
On May 21, 2010, at 4:40 PM, Eric Christopher wrote:
> Author: echristo
> Date: Fri May 21 18:40:03 2010
> New Revision: 104408
>
> URL: http://llvm.org/viewvc/llvm-project?rev=104408&view=rev
> Log:
> Make this LookAheadLimit, not the uninitialized LookAheadLeft.
Duh. emacs code completion is not awesome.
Evan
>
> Evan please verify!
>
> Modified:
> llvm/trunk/lib/CodeGen/MachineCSE.cpp
>
> Modified: llvm/trunk/lib/CodeGen/MachineCSE.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineCSE.cpp?rev=104408&r1=104407&r2=104408&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/MachineCSE.cpp (original)
> +++ llvm/trunk/lib/CodeGen/MachineCSE.cpp Fri May 21 18:40:03 2010
> @@ -137,7 +137,7 @@
> MachineCSE::isPhysDefTriviallyDead(unsigned Reg,
> MachineBasicBlock::const_iterator I,
> MachineBasicBlock::const_iterator E) const {
> - unsigned LookAheadLeft = LookAheadLeft;
> + unsigned LookAheadLeft = LookAheadLimit;
> while (LookAheadLeft) {
> // Skip over dbg_value's.
> while (I != E && I->isDebugValue())
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list