1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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.

llvm-svn: 97774
This commit is contained in:
Evan Cheng 2010-03-05 01:22:47 +00:00
parent c5bf78ce52
commit 340941a422

View File

@ -361,6 +361,7 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
return ReplaceInstUsesWith(CI, RetVal);
}
break;
}
case Intrinsic::bswap:
// bswap(bswap(x)) -> x