[llvm-branch-commits] [llvm-branch] r131460 - /llvm/branches/Apple/Morbo/lib/Transforms/InstCombine/InstCombineCalls.cpp

Eric Christopher echristo at apple.com
Tue May 17 01:19:16 PDT 2011


Author: echristo
Date: Tue May 17 03:19:16 2011
New Revision: 131460

URL: http://llvm.org/viewvc/llvm-project?rev=131460&view=rev
Log:
Fix merge pasto.

Modified:
    llvm/branches/Apple/Morbo/lib/Transforms/InstCombine/InstCombineCalls.cpp

Modified: llvm/branches/Apple/Morbo/lib/Transforms/InstCombine/InstCombineCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/Transforms/InstCombine/InstCombineCalls.cpp?rev=131460&r1=131459&r2=131460&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/Transforms/InstCombine/InstCombineCalls.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/Transforms/InstCombine/InstCombineCalls.cpp Tue May 17 03:19:16 2011
@@ -774,7 +774,7 @@
       if (SizeCI->isAllOnesValue())
         return true;
       if (isString) {
-      	uint64_t Len = GetStringLength(CI->getArgOperand(SizeArgOp));
+      	uint64_t Len = GetStringLength(CI->getOperand(SizeArgOp));
         // If the length is 0 we don't know how long it is and so we can't
         // remove the check.
         if (Len == 0) return false;





More information about the llvm-branch-commits mailing list