File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3612,6 +3612,8 @@ static llvm::StoreInst *findDominatingStoreToReturnValue(CodeGenFunction &CGF) {
36123612
36133613 if (II->getIntrinsicID () == llvm::Intrinsic::fake_use) {
36143614 LoadIntoFakeUse = dyn_cast<llvm::Instruction>(II->getArgOperand (0 ));
3615+ assert (isa<llvm::LoadInst>(LoadIntoFakeUse) &&
3616+ " Expected fake use operand to be a load instruction." );
36153617 continue ;
36163618 }
36173619 }
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class EHScope {
8787 LLVM_PREFERRED_TYPE (bool )
8888 unsigned IsLifetimeMarker : 1 ;
8989
90- // / Whether this cleanup is a fake use
90+ // / Whether this cleanup is a fake use.
9191 LLVM_PREFERRED_TYPE (bool )
9292 unsigned IsFakeUse : 1 ;
9393
You can’t perform that action at this time.
0 commit comments