Add missing break for Intrinsic::objectsize case. It was falling through to the follo...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 5 Mar 2010 01:22:47 +0000 (01:22 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 5 Mar 2010 01:22:47 +0000 (01:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97774 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineCalls.cpp

index 835d149eab4820e5f904c23a31320b231645d845..88d8abdeb73ca52905f77c508ec1eecf48c3839d 100644 (file)
@@ -361,6 +361,7 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
       return ReplaceInstUsesWith(CI, RetVal);
       
     }
+    break;
   }
   case Intrinsic::bswap:
     // bswap(bswap(x)) -> x