From: Dan Gohman Date: Tue, 9 Nov 2010 20:09:35 +0000 (+0000) Subject: VAArg doesn't capture its operand. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1cdaa3e5b1128bd9e62ad9b5084db8a44b897e88;p=oota-llvm.git VAArg doesn't capture its operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118623 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/CaptureTracking.cpp b/lib/Analysis/CaptureTracking.cpp index 90eae20858f..42a54d9d1eb 100644 --- a/lib/Analysis/CaptureTracking.cpp +++ b/lib/Analysis/CaptureTracking.cpp @@ -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;