[llvm-commits] [llvm] r97774 - /llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
Evan Cheng
evan.cheng at apple.com
Thu Mar 4 17:22:47 PST 2010
Author: evancheng
Date: Thu Mar 4 19:22:47 2010
New Revision: 97774
URL: http://llvm.org/viewvc/llvm-project?rev=97774&view=rev
Log:
Add missing break for Intrinsic::objectsize case. It was falling through to the following Intrinsic::bswap code. I have no idea why it wasn't breaking stuff.
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp?rev=97774&r1=97773&r2=97774&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp Thu Mar 4 19:22:47 2010
@@ -361,6 +361,7 @@
return ReplaceInstUsesWith(CI, RetVal);
}
+ break;
}
case Intrinsic::bswap:
// bswap(bswap(x)) -> x
More information about the llvm-commits
mailing list