We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbdea3c commit 7ac9346Copy full SHA for 7ac9346
llvm/lib/IR/Instructions.cpp
@@ -2973,7 +2973,8 @@ unsigned CastInst::isEliminableCastPair(
2973
// zext, sext -> zext, because sext can't sign extend after zext
2974
return Instruction::ZExt;
2975
case 11: {
2976
- // inttoptr, ptrtoint/ptrtoaddr -> bitcast if SrcSize<=PtrSize and SrcSize==DstSize
+ // inttoptr, ptrtoint/ptrtoaddr -> bitcast if SrcSize<=PtrSize and
2977
+ // SrcSize==DstSize
2978
if (!MidIntPtrTy)
2979
return 0;
2980
unsigned PtrSize = MidIntPtrTy->getScalarSizeInBits();
0 commit comments