From: Chris Lattner Date: Tue, 27 Sep 2005 19:38:43 +0000 (+0000) Subject: allow demotion to volatile values X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cc0f703f421a5893cf3203c0aa35d597dbdee195;p=oota-llvm.git allow demotion to volatile values git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23472 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h index 6c8153ddf09..25183154272 100644 --- a/include/llvm/Transforms/Utils/Local.h +++ b/include/llvm/Transforms/Utils/Local.h @@ -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