VAArg doesn't capture its operand.
llvm-svn: 118623
This commit is contained in:
parent
88d5f7fd95
commit
88ff1ece63
@ -95,6 +95,9 @@ bool llvm::PointerMayBeCaptured(const Value *V,
|
||||
case Instruction::Load:
|
||||
// Loading from a pointer does not cause it to be captured.
|
||||
break;
|
||||
case Instruction::VAArg:
|
||||
// "va-arg" from a pointer does not cause it to be captured.
|
||||
break;
|
||||
case Instruction::Ret:
|
||||
if (ReturnCaptures)
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user