mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +00: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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97774 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -361,6 +361,7 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
|
|||||||
return ReplaceInstUsesWith(CI, RetVal);
|
return ReplaceInstUsesWith(CI, RetVal);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case Intrinsic::bswap:
|
case Intrinsic::bswap:
|
||||||
// bswap(bswap(x)) -> x
|
// bswap(bswap(x)) -> x
|
||||||
|
Reference in New Issue
Block a user