[llvm-commits] [llvm] r86694 - /llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp
Duncan Sands
baldrick at free.fr
Tue Nov 10 10:21:37 PST 2009
Author: baldrick
Date: Tue Nov 10 12:21:37 2009
New Revision: 86694
URL: http://llvm.org/viewvc/llvm-project?rev=86694&view=rev
Log:
Fix obvious typo.
Modified:
llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp?rev=86694&r1=86693&r2=86694&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp Tue Nov 10 12:21:37 2009
@@ -142,7 +142,7 @@
case Intrinsic::init_trampoline:
return -1u;
case Intrinsic::lifetime_end:
- Len = II->getOperand(0);
+ Len = II->getOperand(1);
}
}
if (ConstantInt *LenCI = dyn_cast<ConstantInt>(Len))
More information about the llvm-commits
mailing list