aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Instructions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index 53cfe6ae1d..b1214afef3 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -681,6 +681,7 @@ public:
}
virtual VAArgInst *clone() const;
+ bool mayWriteToMemory() const { return true; }
// Methods for support type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const VAArgInst *) { return true; }