allow demotion to volatile values
authorChris Lattner <sabre@nondot.org>
Tue, 27 Sep 2005 19:38:43 +0000 (19:38 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Sep 2005 19:38:43 +0000 (19:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23472 91177308-0d34-0410-b5e6-96231b3b80d8

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