[llvm-commits] [llvm] r86705 - /llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp
Duncan Sands
baldrick at free.fr
Tue Nov 10 11:36:40 PST 2009
Author: baldrick
Date: Tue Nov 10 13:36:40 2009
New Revision: 86705
URL: http://llvm.org/viewvc/llvm-project?rev=86705&view=rev
Log:
Add defensive break.
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=86705&r1=86704&r2=86705&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp Tue Nov 10 13:36:40 2009
@@ -143,6 +143,7 @@
return -1u;
case Intrinsic::lifetime_end:
Len = II->getOperand(1);
+ break;
}
}
if (ConstantInt *LenCI = dyn_cast<ConstantInt>(Len))
More information about the llvm-commits
mailing list