allow demotion to volatile values
[oota-llvm.git] / include / llvm / Transforms / Utils / Local.h
index 6c8153ddf09bce35ac75d17e356691d30c8379b0..25183154272cfdafa82a76b8cf376b4f212c7773 100644 (file)
@@ -98,7 +98,7 @@ bool SimplifyCFG(BasicBlock *BB);
 /// invalidating the SSA information for the value.  It returns the pointer to
 /// the alloca inserted to create a stack slot for X.
 ///
-AllocaInst *DemoteRegToStack(Instruction &X);
+AllocaInst *DemoteRegToStack(Instruction &X, bool VolatileLoads = false);
 
 } // End llvm namespace