commit | f79d6246e6b6a83e31a1360e80f828707a51f98e | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Mar 05 01:22:47 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Mar 05 01:22:47 2010 +0000 |
tree | 6d025f8ece9698e749cb790aa3dfc65e5e44194c | |
parent | 8550592b801d752753c922e0831d37da8013fc4b [diff] [blame] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97774 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstCombineCalls.cpp b/lib/Transforms/InstCombine/InstCombineCalls.cpp index 835d149..88d8abd 100644 --- a/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -361,6 +361,7 @@ return ReplaceInstUsesWith(CI, RetVal); } + break; } case Intrinsic::bswap: // bswap(bswap(x)) -> x